Enum Class ServiceType

java.lang.Object
java.lang.Enum<ServiceType>
org.serviceconnector.service.ServiceType
All Implemented Interfaces:
Serializable, Comparable<ServiceType>, Constable, IReversibleEnum<String,ServiceType>

public enum ServiceType extends Enum<ServiceType> implements IReversibleEnum<String,ServiceType>
The Enum ServiceType.
Author:
JTraber
  • Enum Constant Details

    • SESSION_SERVICE

      public static final ServiceType SESSION_SERVICE
      The SESSION_SERVICE.
    • PUBLISH_SERVICE

      public static final ServiceType PUBLISH_SERVICE
      The PUBLISH_SERVICE.
    • CACHE_GUARDIAN

      public static final ServiceType CACHE_GUARDIAN
      The CACHE_GUARDIAN.
    • CASCADED_SESSION_SERVICE

      public static final ServiceType CASCADED_SESSION_SERVICE
      The CASCADED_SESSION_SERVICE.
    • CASCADED_PUBLISH_SERVICE

      public static final ServiceType CASCADED_PUBLISH_SERVICE
      The CASCADED_PUBLISH_SERVICE.
    • CASCADED_FILE_SERVICE

      public static final ServiceType CASCADED_FILE_SERVICE
      The CASCADED_FILE_SERVICE.
    • CASCADED_CACHE_GUARDIAN

      public static final ServiceType CASCADED_CACHE_GUARDIAN
      The CASCADED_CACHE_GUARDIAN.
    • FILE_SERVICE

      public static final ServiceType FILE_SERVICE
      The FILE_SERVICE.
    • UNDEFINED

      public static final ServiceType UNDEFINED
      The UNDEFINED.
  • Method Details

    • values

      public static ServiceType[] 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 ServiceType 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
    • getType

      public static ServiceType getType(String typeString)
      Gets the type.
      Parameters:
      typeString - the type string
      Returns:
      the type
    • getValue

      public String getValue()
      Return the value/code of the enum constant.
      Specified by:
      getValue in interface IReversibleEnum<String,ServiceType>
      Returns:
      value
    • reverse

      public ServiceType reverse(String typeString)
      Get the Enum constant by looking up the code in the reverse enum map. *
      Specified by:
      reverse in interface IReversibleEnum<String,ServiceType>
      Parameters:
      typeString - the code
      Returns:
      V - The enum constant