Package org.jboss.as.controller
Enum OperationContext.ExecutionStatus
- java.lang.Object
-
- java.lang.Enum<OperationContext.ExecutionStatus>
-
- org.jboss.as.controller.OperationContext.ExecutionStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<OperationContext.ExecutionStatus>
- Enclosing interface:
- OperationContext
public static enum OperationContext.ExecutionStatus extends Enum<OperationContext.ExecutionStatus>
The current activity of an operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AWAITING_OTHER_OPERATION
AWAITING_STABILITY
COMPLETING
EXECUTING
ROLLING_BACK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static OperationContext.ExecutionStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static OperationContext.ExecutionStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXECUTING
public static final OperationContext.ExecutionStatus EXECUTING
-
AWAITING_OTHER_OPERATION
public static final OperationContext.ExecutionStatus AWAITING_OTHER_OPERATION
-
AWAITING_STABILITY
public static final OperationContext.ExecutionStatus AWAITING_STABILITY
-
COMPLETING
public static final OperationContext.ExecutionStatus COMPLETING
-
ROLLING_BACK
public static final OperationContext.ExecutionStatus ROLLING_BACK
-
-
Method Detail
-
values
public static OperationContext.ExecutionStatus[] 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 (OperationContext.ExecutionStatus c : OperationContext.ExecutionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationContext.ExecutionStatus 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<OperationContext.ExecutionStatus>
-
-