Package com.sodius.oslc.app.jazz.model
Enum GlobalConfigurationAware
- java.lang.Object
-
- java.lang.Enum<GlobalConfigurationAware>
-
- com.sodius.oslc.app.jazz.model.GlobalConfigurationAware
-
- All Implemented Interfaces:
Serializable
,Comparable<GlobalConfigurationAware>
public enum GlobalConfigurationAware extends Enum<GlobalConfigurationAware>
Defines the possible values for the"http://jazz.net/xmlns/prod/jazz/process/1.0/globalConfigurationAware"
property.- Since:
- 1.11.0
- See Also:
JazzProcess.getGlobalConfigurationAware(ServiceProvider)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPATIBLE
The application does not support configurations, but it can still link to or interact with versioned artifacts.NO
The application has no support for configurations or versioning.YES
The application supports configurations and versioned artifacts.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GlobalConfigurationAware
forLinkingArtifactOf(ServiceProvider provider)
Special case of theof(ServiceProvider)
method that MUST be used ONLY when linking an artifact of the given service provider.static GlobalConfigurationAware
of(String value)
Returns the enum constant representing the specified"http://jazz.net/xmlns/prod/jazz/process/1.0/globalConfigurationAware"
property value.static GlobalConfigurationAware
of(ServiceProvider provider)
Returns the enum constant representing the value of the"http://jazz.net/xmlns/prod/jazz/process/1.0/globalConfigurationAware"
property, which indicates the level of support of Jazz Global Configuration.static GlobalConfigurationAware
valueOf(String name)
Returns the enum constant of this type with the specified name.static GlobalConfigurationAware[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
YES
public static final GlobalConfigurationAware YES
The application supports configurations and versioned artifacts.
-
COMPATIBLE
public static final GlobalConfigurationAware COMPATIBLE
The application does not support configurations, but it can still link to or interact with versioned artifacts.
-
NO
public static final GlobalConfigurationAware NO
The application has no support for configurations or versioning.
-
-
Method Detail
-
values
public static GlobalConfigurationAware[] 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 (GlobalConfigurationAware c : GlobalConfigurationAware.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlobalConfigurationAware 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
-
of
public static GlobalConfigurationAware of(ServiceProvider provider)
Returns the enum constant representing the value of the"http://jazz.net/xmlns/prod/jazz/process/1.0/globalConfigurationAware"
property, which indicates the level of support of Jazz Global Configuration.- Parameters:
provider
- the service provider- Returns:
- the enum constant representing the value of the
globalConfigurationAware
property,NO
if the property is not set. - See Also:
JazzProcess.getGlobalConfigurationAware(ServiceProvider)
-
forLinkingArtifactOf
public static GlobalConfigurationAware forLinkingArtifactOf(ServiceProvider provider)
Special case of theof(ServiceProvider)
method that MUST be used ONLY when linking an artifact of the given service provider.When linking, and for DOORS Family 9.7 only, a
COMPATIBLE
value MUST be treated asYES
to prevent a backlink creation failure.- Parameters:
provider
- the linking service provider.- Returns:
- the enum constant corresponding to the provider considering the DOORS Family exception.
- Since:
- 3.1.0
-
of
public static GlobalConfigurationAware of(String value)
Returns the enum constant representing the specified"http://jazz.net/xmlns/prod/jazz/process/1.0/globalConfigurationAware"
property value.- Parameters:
value
- the value of aglobalConfigurationAware
property.- Returns:
- the enum constant representing the value of the
globalConfigurationAware
property,NO
if the value isnull
or empty. - See Also:
JazzProcess.getGlobalConfigurationAware(ServiceProvider)
-
-