blob: 56fcc1dc443d7c0d4e6ec681b6d9b84abe96a2cc [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2015 Boeing.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
package org.eclipse.osee.ats.api.workflow;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.framework.core.data.IArtifactType;
/**
* @author Donald G. Dunne
*/
public enum WorkItemType {
WorkItem("Work Item", AtsArtifactTypes.AbstractWorkflowArtifact),
TeamWorkflow("Team Workflow", AtsArtifactTypes.TeamWorkflow),
Task("Task", AtsArtifactTypes.Task),
Review("Review", AtsArtifactTypes.ReviewArtifact),
Goal("Goal", AtsArtifactTypes.Goal),
PeerReview("Peer Review", AtsArtifactTypes.PeerToPeerReview),
DecisionReview("Decision Review", AtsArtifactTypes.DecisionReview),
AgileSprint("Agile Sprint", AtsArtifactTypes.AgileSprint),
AgileBacklog("Agile Backlog", AtsArtifactTypes.Goal);
private final String displayName;
private final IArtifactType artifactType;
private WorkItemType(String displayName, IArtifactType artifactType) {
this.displayName = displayName;
this.artifactType = artifactType;
}
public String getDisplayName() {
return displayName;
}
public IArtifactType getArtifactType() {
return artifactType;
}
}