Package org.serviceconnector.cache
Enum Class SC_CACHING_METHOD
- All Implemented Interfaces:
Serializable,Comparable<SC_CACHING_METHOD>,Constable,IReversibleEnum<String,SC_CACHING_METHOD>
public enum SC_CACHING_METHOD
extends Enum<SC_CACHING_METHOD>
implements IReversibleEnum<String,SC_CACHING_METHOD>
The Enumeration SC_CACHING_METHOD. Used by the server to publish appendix!
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic SC_CACHING_METHODgetCachingMethod(String methodString) Gets the caching method.getValue()Return the value/code of the enum constant.Get theEnumconstant by looking up the code in the reverse enum mapstatic SC_CACHING_METHODReturns the enum constant of this class with the specified name.static SC_CACHING_METHOD[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INITIAL
-
APPEND
-
REMOVE
-
NOT_MANAGED
-
-
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
-
getCachingMethod
Gets the caching method.- Parameters:
methodString- the method string- Returns:
- the caching method
-
getValue
Return the value/code of the enum constant.- Specified by:
getValuein interfaceIReversibleEnum<String,SC_CACHING_METHOD> - Returns:
- value
-
reverse
Get theEnumconstant by looking up the code in the reverse enum map. *- Specified by:
reversein interfaceIReversibleEnum<String,SC_CACHING_METHOD> - Parameters:
methodString- the code- Returns:
- V - The enum constant
-