Package de.hybris.platform.cluster
Enum ClusterNodeAcquisition.NodeState
- java.lang.Object
-
- java.lang.Enum<ClusterNodeAcquisition.NodeState>
-
- de.hybris.platform.cluster.ClusterNodeAcquisition.NodeState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ClusterNodeAcquisition.NodeState>
- Enclosing class:
- ClusterNodeAcquisition
public static enum ClusterNodeAcquisition.NodeState extends java.lang.Enum<ClusterNodeAcquisition.NodeState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEWRESTART_AFTER_CRASHRESTART_AFTER_SHUTDOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClusterNodeAcquisition.NodeStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ClusterNodeAcquisition.NodeState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW
public static final ClusterNodeAcquisition.NodeState NEW
-
RESTART_AFTER_SHUTDOWN
public static final ClusterNodeAcquisition.NodeState RESTART_AFTER_SHUTDOWN
-
RESTART_AFTER_CRASH
public static final ClusterNodeAcquisition.NodeState RESTART_AFTER_CRASH
-
-
Method Detail
-
values
public static ClusterNodeAcquisition.NodeState[] 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 (ClusterNodeAcquisition.NodeState c : ClusterNodeAcquisition.NodeState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClusterNodeAcquisition.NodeState valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-