Enum DeliverableType
- java.lang.Object
-
- java.lang.Enum<DeliverableType>
-
- com.sodius.oslc.app.jazz.ccm.model.DeliverableType
-
- All Implemented Interfaces:
Serializable
,Comparable<DeliverableType>
public enum DeliverableType extends Enum<DeliverableType>
A Deliverable Type serves as a hint to identify theDeliverable
that should be used when linking a Change Management artifact to a versioned artifact in another application.OSLC Change Management applications need to implement a mapping between their supported link types and the field or attribute that will make them able to identify the right Deliverable, which in turn allows to identify the global configuration in which the link is valid.
Examples:
DeliverableType.FOUND_IN
may be mapped to the "Found In" attribute in IBM CCM, or to "Affects Version/s" in Atlassian Jira.DeliverableType.PLANNED_FOR
may be mapped to the "Derived From Planned For" attribute in IBM CCM, or to "Fix Version/s" in Atlassian Jira.
See this article for more information:
https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.workitem.doc%2Ftopics%2Fc_linking_to_cm_artifacts.html- Since:
- 1.8.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FOUND_IN
PLANNED_FOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static DeliverableType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeliverableType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FOUND_IN
public static final DeliverableType FOUND_IN
-
PLANNED_FOR
public static final DeliverableType PLANNED_FOR
-
-
Method Detail
-
values
public static DeliverableType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeliverableType c : DeliverableType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeliverableType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<DeliverableType>
-
-