Enum ExtensionType
- java.lang.Object
-
- java.lang.Enum<ExtensionType>
-
- com.opencloud.slee.resources.sis.management.ExtensionType
-
- All Implemented Interfaces:
Serializable
,Comparable<ExtensionType>
public enum ExtensionType extends Enum<ExtensionType>
Enum identifying the specific type of an extension component.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTERCEPTOR
Interceptor extension.SCS
Service composition selection extension.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExtensionType
fromString(String s)
Get an ExtensionType from the stringstatic ExtensionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExtensionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCS
public static final ExtensionType SCS
Service composition selection extension.
-
INTERCEPTOR
public static final ExtensionType INTERCEPTOR
Interceptor extension.
-
-
Method Detail
-
values
public static ExtensionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExtensionType c : ExtensionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExtensionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
public static ExtensionType fromString(String s)
Get an ExtensionType from the string- Parameters:
s
- the string.- Returns:
- an ExtensionType.
- Throws:
IllegalArgumentException
- if the string argument does not correspond to the string value of one of the extension types.
-
-