Enum Class DeploymentAction.Type

java.lang.Object
java.lang.Enum<DeploymentAction.Type>
org.jboss.as.controller.client.helpers.domain.DeploymentAction.Type
All Implemented Interfaces:
Serializable, Comparable<DeploymentAction.Type>, Constable
Enclosing interface:
DeploymentAction

public static enum DeploymentAction.Type extends Enum<DeploymentAction.Type>
Enumeration of valid types of deployment actions.
  • Enum Constant Details

    • ADD

      public static final DeploymentAction.Type ADD
      Add content to the deployment content repository. Does not imply deploying it into the runtime.
    • DEPLOY

      public static final DeploymentAction.Type DEPLOY
      Deploy content into the runtime, without replacing existing content.
    • REPLACE

      public static final DeploymentAction.Type REPLACE
      Replace existing content in the runtime. The new content must have been previously added to the content repository.
    • FULL_REPLACE

      public static final DeploymentAction.Type FULL_REPLACE
      Add new content to the deployment content repository, replace existing content of the same name in the runtime, and remove the replaced content from the deployment content repository. This is equivalent to an ADD, UNDEPLOY, DEPLOY, REMOVE sequence where the new content has the same name as the content being replaced.
    • UNDEPLOY

      public static final DeploymentAction.Type UNDEPLOY
      Undeploy content from the runtime. The content remains in the content repository.
    • REDEPLOY

      public static final DeploymentAction.Type REDEPLOY
      Undeploy existing content from the runtime and deploy it again.
    • REMOVE

      public static final DeploymentAction.Type REMOVE
      Remove content from the deployment content repository. The content must have previously been undeployed from all runtimes.
  • Method Details

    • values

      public static DeploymentAction.Type[] 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 DeploymentAction.Type 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