Enum ResourceAdaptorEntityDesiredState
- java.lang.Object
-
- java.lang.Enum<ResourceAdaptorEntityDesiredState>
-
- com.opencloud.rhino.management.resource.ResourceAdaptorEntityDesiredState
-
- All Implemented Interfaces:
Serializable
,Comparable<ResourceAdaptorEntityDesiredState>
public enum ResourceAdaptorEntityDesiredState extends Enum<ResourceAdaptorEntityDesiredState>
Resource adaptor entity desired state values.
The desired state of a resource adaptor entity is the lifecycle state that the user wants the resource adaptor entity to transition towards if it is not already in that state.
- Since:
- Rhino 3.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description active
Resource adaptor entity desired state representing the active state.inactive
Resource adaptor entity desired state representing the inactive state.non_existent
Resource adaptor entity desired state representing the state where the resource adaptor entity no longer exists in the SLEE.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceAdaptorEntityDesiredState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourceAdaptorEntityDesiredState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
inactive
public static final ResourceAdaptorEntityDesiredState inactive
Resource adaptor entity desired state representing the inactive state.
- Since:
- Rhino 3.0.0
-
active
public static final ResourceAdaptorEntityDesiredState active
Resource adaptor entity desired state representing the active state.
- Since:
- Rhino 3.0.0
-
non_existent
public static final ResourceAdaptorEntityDesiredState non_existent
Resource adaptor entity desired state representing the state where the resource adaptor entity no longer exists in the SLEE. This state is not typically used by a user but is set as the desired state for a resource adaptor entity that has been flagged for removal by a
declarative configuration import
operation.- Since:
- Rhino 3.0.0
-
-
Method Detail
-
values
public static ResourceAdaptorEntityDesiredState[] 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 (ResourceAdaptorEntityDesiredState c : ResourceAdaptorEntityDesiredState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceAdaptorEntityDesiredState 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
-
-