Package org.serviceconnector.service
Enum Class ServiceType
- All Implemented Interfaces:
Serializable,Comparable<ServiceType>,Constable,IReversibleEnum<String,ServiceType>
The Enum ServiceType.
- Author:
- JTraber
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe CACHE_GUARDIAN.The CASCADED_CACHE_GUARDIAN.The CASCADED_FILE_SERVICE.The CASCADED_PUBLISH_SERVICE.The CASCADED_SESSION_SERVICE.The FILE_SERVICE.The PUBLISH_SERVICE.The SESSION_SERVICE.The UNDEFINED. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceTypeGets the type.getValue()Return the value/code of the enum constant.Get theEnumconstant by looking up the code in the reverse enum mapstatic ServiceTypeReturns the enum constant of this class with the specified name.static ServiceType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SESSION_SERVICE
The SESSION_SERVICE. -
PUBLISH_SERVICE
The PUBLISH_SERVICE. -
CACHE_GUARDIAN
The CACHE_GUARDIAN. -
CASCADED_SESSION_SERVICE
The CASCADED_SESSION_SERVICE. -
CASCADED_PUBLISH_SERVICE
The CASCADED_PUBLISH_SERVICE. -
CASCADED_FILE_SERVICE
The CASCADED_FILE_SERVICE. -
CASCADED_CACHE_GUARDIAN
The CASCADED_CACHE_GUARDIAN. -
FILE_SERVICE
The FILE_SERVICE. -
UNDEFINED
The UNDEFINED.
-
-
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
-
getType
Gets the type.- Parameters:
typeString- the type string- Returns:
- the type
-
getValue
Return the value/code of the enum constant.- Specified by:
getValuein interfaceIReversibleEnum<String,ServiceType> - Returns:
- value
-
reverse
Get theEnumconstant by looking up the code in the reverse enum map. *- Specified by:
reversein interfaceIReversibleEnum<String,ServiceType> - Parameters:
typeString- the code- Returns:
- V - The enum constant
-