Package org.serviceconnector.server
Enum Class ServerType
- All Implemented Interfaces:
Serializable,Comparable<ServerType>,Constable,IReversibleEnum<String,ServerType>
- 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 CASCADED_SC.The FILE_SERVER.The STATEFUL_SERVER.The UNDEFINED.The WEB_SERVER. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerTypeGets the type.getValue()Return the value/code of the enum constant.Get theEnumconstant by looking up the code in the reverse enum mapstatic ServerTypeReturns the enum constant of this class with the specified name.static ServerType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STATEFUL_SERVER
The STATEFUL_SERVER. -
FILE_SERVER
The FILE_SERVER. -
WEB_SERVER
The WEB_SERVER. -
CASCADED_SC
The CASCADED_SC. -
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
Description copied from interface:IReversibleEnumReturn the value/code of the enum constant.- Specified by:
getValuein interfaceIReversibleEnum<String,ServerType> - Returns:
- value
-
reverse
Description copied from interface:IReversibleEnumGet theEnumconstant by looking up the code in the reverse enum map. *- Specified by:
reversein interfaceIReversibleEnum<String,ServerType> - Parameters:
typeString- the code- Returns:
- V - The enum constant
-