Enum Class OperationContext.Stage

java.lang.Object
java.lang.Enum<OperationContext.Stage>
org.jboss.as.controller.OperationContext.Stage
All Implemented Interfaces:
Serializable, Comparable<OperationContext.Stage>, Constable
Enclosing interface:
OperationContext

public static enum OperationContext.Stage extends Enum<OperationContext.Stage>
The stage at which a step should apply.
  • Enum Constant Details

    • 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 when ProcessType.isHostController() is true.
    • DONE

      public static final OperationContext.Stage DONE
      The operation has completed execution.
  • Method Details

    • values

      public static OperationContext.Stage[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OperationContext.Stage valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null