Enum Class Domain
- All Implemented Interfaces:
Serializable,Comparable<Domain>,java.lang.constant.Constable
Describes an OSLC domain.
- Since:
- 3.5.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Architecture Management domain -http://open-services.net/ns/am#The Change Management domain -http://open-services.net/ns/cm#The Configuration Management domain -http://open-services.net/ns/config#The Quality Management domain -http://open-services.net/ns/qm#The Requirement Management domain -http://open-services.net/ns/rm#The Software Configuration Management domain -http://open-services.net/ns/scm# -
Method Summary
Modifier and TypeMethodDescriptionReturns the title of the domain, e.g.getURI()Return the URI of the domain, e.g.static Collection<Domain>Returns the domains that are supported, the ones defining a type of artifact that the local application enables managing, as determined byProcessScope.static DomainReturns the enum constant of this class with the specified name.static DomainReturns the domain matching the given URI.static Domain[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ARCHITECTURE_MANAGEMENT
The Architecture Management domain -http://open-services.net/ns/am# -
CHANGE_MANAGEMENT
The Change Management domain -http://open-services.net/ns/cm# -
CONFIGURATION_MANAGEMENT
The Configuration Management domain -http://open-services.net/ns/config# -
QUALITY_MANAGEMENT
The Quality Management domain -http://open-services.net/ns/qm# -
REQUIREMENT_MANAGEMENT
The Requirement Management domain -http://open-services.net/ns/rm# -
SOFTWARE_CONFIGURATION_MANAGEMENT
The Software Configuration Management domain -http://open-services.net/ns/scm#- Since:
- 4.0.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
supportedValues
Returns the domains that are supported, the ones defining a type of artifact that the local application enables managing, as determined byProcessScope.- Returns:
- the supported resource types.
- See Also:
-
valueOf
Returns the domain matching the given URI.- Parameters:
uri- the URI of a domain.- Returns:
- the corresponding domain.
- Throws:
IllegalArgumentException- if the URI does not match any domain.
-
getURI
Return the URI of the domain, e.g.http://open-services.net/ns/cm#- Returns:
- the domain URI.
-
getTitle
Returns the title of the domain, e.g."Change Management".- Parameters:
locales- the ordered languages of preference for the title, or an empty list to default to English.- Returns:
- the domain title.
-