java.io.Serializable
, java.lang.Comparable<PartitionRuntimeMBean.Operation>
, java.lang.constant.Constable
public static enum PartitionRuntimeMBean.Operation extends java.lang.Enum<PartitionRuntimeMBean.Operation>
Enum Constant | Description |
---|---|
ADMIN |
|
BOOT |
|
FORCE_RESTART |
|
FORCE_SHUTDOWN |
|
FORCE_SUSPEND |
|
HALT |
|
RESUME |
|
SHUTDOWN |
|
START |
|
STOP |
Deprecated.
|
SUSPEND |
Modifier and Type | Field | Description |
---|---|---|
java.util.Set<PartitionRuntimeMBean.State> |
allowablePreviousState |
|
java.util.Set<PartitionRuntimeMBean.Operation> |
allowOps |
|
PartitionRuntimeMBean.State |
nextFailureState |
|
PartitionRuntimeMBean.State |
nextState |
|
PartitionRuntimeMBean.State |
nextSuccessState |
|
PartitionRuntimeMBean.State |
successSubState |
Modifier and Type | Method | Description |
---|---|---|
boolean |
isAllowedOp(PartitionRuntimeMBean.Operation proposedOperation) |
|
static boolean |
isSetupOperation(PartitionRuntimeMBean.Operation operation) |
|
static boolean |
isTeardownOperation(PartitionRuntimeMBean.Operation operation) |
|
boolean |
isValidForState(PartitionRuntimeMBean.State allowablePreviousState) |
|
static PartitionRuntimeMBean.Operation |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static PartitionRuntimeMBean.Operation[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartitionRuntimeMBean.Operation BOOT
public static final PartitionRuntimeMBean.Operation START
public static final PartitionRuntimeMBean.Operation ADMIN
@Deprecated public static final PartitionRuntimeMBean.Operation STOP
public static final PartitionRuntimeMBean.Operation FORCE_SHUTDOWN
public static final PartitionRuntimeMBean.Operation FORCE_SUSPEND
public static final PartitionRuntimeMBean.Operation RESUME
public static final PartitionRuntimeMBean.Operation SHUTDOWN
public static final PartitionRuntimeMBean.Operation HALT
public static final PartitionRuntimeMBean.Operation SUSPEND
public static final PartitionRuntimeMBean.Operation FORCE_RESTART
public final PartitionRuntimeMBean.State nextState
public final PartitionRuntimeMBean.State nextSuccessState
public final PartitionRuntimeMBean.State nextFailureState
public final java.util.Set<PartitionRuntimeMBean.Operation> allowOps
public final java.util.Set<PartitionRuntimeMBean.State> allowablePreviousState
public final PartitionRuntimeMBean.State successSubState
public static PartitionRuntimeMBean.Operation[] values()
for (PartitionRuntimeMBean.Operation c : PartitionRuntimeMBean.Operation.values()) System.out.println(c);
public static PartitionRuntimeMBean.Operation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isAllowedOp(PartitionRuntimeMBean.Operation proposedOperation)
public boolean isValidForState(PartitionRuntimeMBean.State allowablePreviousState)
public static boolean isTeardownOperation(PartitionRuntimeMBean.Operation operation)
public static boolean isSetupOperation(PartitionRuntimeMBean.Operation operation)