Package org.jboss.as.controller
Enum OperationContext.Stage
- java.lang.Object
-
- java.lang.Enum<OperationContext.Stage>
-
- org.jboss.as.controller.OperationContext.Stage
-
- All Implemented Interfaces:
Serializable
,Comparable<OperationContext.Stage>
- Enclosing interface:
- OperationContext
public static enum OperationContext.Stage extends Enum<OperationContext.Stage>
The stage at which a step should apply.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOMAIN
The step performs any actions needed to cause the operation to take effect on the relevant servers in the domain.DONE
The operation has completed execution.MODEL
The step applies to the model (read or write).RUNTIME
The step applies to the runtime container (read or write).VERIFY
The step checks the result of a runtime container operation (read only).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperationContext.Stage
valueOf(String name)
Returns the enum constant of this type with the specified name.static OperationContext.Stage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MODEL
public static final OperationContext.Stage MODEL
The step applies to the model (read or write).
-
RUNTIME
public static final OperationContext.Stage RUNTIME
The step applies to the runtime container (read or write).
-
VERIFY
public static final OperationContext.Stage VERIFY
The step checks the result of a runtime container operation (read only). Inspect the container, and if problems are detected, record the problem(s) in the operation result.
-
DOMAIN
public static final OperationContext.Stage DOMAIN
The step performs any actions needed to cause the operation to take effect on the relevant servers in the domain. Adding a step in this stage is only allowed whenProcessType.isHostController()
is true.
-
DONE
public static final OperationContext.Stage DONE
The operation has completed execution.
-
-
Method Detail
-
values
public static OperationContext.Stage[] 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.Stage c : OperationContext.Stage.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.Stage 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
-
-