Enum ResourceAdaptorEntityActualState
- java.lang.Object
-
- java.lang.Enum<ResourceAdaptorEntityActualState>
-
- com.opencloud.rhino.management.resource.ResourceAdaptorEntityActualState
-
- All Implemented Interfaces:
Serializable
,Comparable<ResourceAdaptorEntityActualState>
public enum ResourceAdaptorEntityActualState extends Enum<ResourceAdaptorEntityActualState>
Resource adaptor entity actual state values.
The actual state of a resource adaptor entity is its current lifecycle state. Only live event router nodes have actual state.
- Since:
- Rhino 3.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description active
Resource adaptor entity actual state representing a resource adaptor entity that has been successfully activated.inactive
Resource adaptor entity actual state representing a resource adaptor entity that has not been activated.stopping
Resource adaptor entity actual state representing a resource adaptor entity that has been deactivated and is currently awaiting completion of remaining activities and events.unlicensed
Resource adaptor entity actual state representing a resource adaptor entity that could not be activated due to a missing valid license.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceAdaptorEntityState
getJSleeState()
Get the equivalent JAIN SLEE-defined state for this actual state value.static ResourceAdaptorEntityActualState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourceAdaptorEntityActualState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
inactive
public static final ResourceAdaptorEntityActualState inactive
Resource adaptor entity actual state representing a resource adaptor entity that has not been activated.
Equivalent JAIN SLEE-defined state:
ResourceAdaptorEntityState.INACTIVE
.- Since:
- Rhino 3.0.0
-
active
public static final ResourceAdaptorEntityActualState active
Resource adaptor entity actual state representing a resource adaptor entity that has been successfully activated.
Equivalent JAIN SLEE-defined state:
ResourceAdaptorEntityState.ACTIVE
.- Since:
- Rhino 3.0.0
-
stopping
public static final ResourceAdaptorEntityActualState stopping
Resource adaptor entity actual state representing a resource adaptor entity that has been deactivated and is currently awaiting completion of remaining activities and events. This is a transient state that will spontaneously transition to
inactive
once no activities created by the resource adaptor entity remain.Equivalent JAIN SLEE-defined state:
ResourceAdaptorEntityState.STOPPING
.- Since:
- Rhino 3.0.0
-
unlicensed
public static final ResourceAdaptorEntityActualState unlicensed
Resource adaptor entity actual state representing a resource adaptor entity that could not be activated due to a missing valid license.
Equivalent JAIN SLEE-defined state:
ResourceAdaptorEntityState.INACTIVE
.- Since:
- Rhino 3.0.0
-
-
Method Detail
-
values
public static ResourceAdaptorEntityActualState[] 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 (ResourceAdaptorEntityActualState c : ResourceAdaptorEntityActualState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceAdaptorEntityActualState 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
-
getJSleeState
public ResourceAdaptorEntityState getJSleeState()
Get the equivalent JAIN SLEE-defined state for this actual state value.
- Returns:
- the equivalent JAIN SLEE-defined state.
-
-