Enum Class Domain

java.lang.Object
java.lang.Enum<Domain>
com.sodius.oslc.core.process.model.Domain
All Implemented Interfaces:
Serializable, Comparable<Domain>, java.lang.constant.Constable

public enum Domain extends Enum<Domain>
Describes an OSLC domain.
Since:
3.5.0
  • Enum Constant Details

    • ARCHITECTURE_MANAGEMENT

      public static final Domain ARCHITECTURE_MANAGEMENT
      The Architecture Management domain - http://open-services.net/ns/am#
    • CHANGE_MANAGEMENT

      public static final Domain CHANGE_MANAGEMENT
      The Change Management domain - http://open-services.net/ns/cm#
    • CONFIGURATION_MANAGEMENT

      public static final Domain CONFIGURATION_MANAGEMENT
      The Configuration Management domain - http://open-services.net/ns/config#
    • QUALITY_MANAGEMENT

      public static final Domain QUALITY_MANAGEMENT
      The Quality Management domain - http://open-services.net/ns/qm#
    • REQUIREMENT_MANAGEMENT

      public static final Domain REQUIREMENT_MANAGEMENT
      The Requirement Management domain - http://open-services.net/ns/rm#
    • SOFTWARE_CONFIGURATION_MANAGEMENT

      public static final Domain SOFTWARE_CONFIGURATION_MANAGEMENT
      The Software Configuration Management domain - http://open-services.net/ns/scm#
      Since:
      4.0.0
  • Method Details

    • values

      public static Domain[] 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

      public static Domain valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • supportedValues

      public static Collection<Domain> supportedValues()
      Returns the domains that are supported, the ones defining a type of artifact that the local application enables managing, as determined by ProcessScope.
      Returns:
      the supported resource types.
      See Also:
    • valueOf

      public static Domain valueOf(URI uri)
      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

      public URI getURI()
      Return the URI of the domain, e.g. http://open-services.net/ns/cm#
      Returns:
      the domain URI.
    • getTitle

      public String getTitle(List<Locale> locales)
      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.