Enum DeploymentAction.Type
- java.lang.Object
-
- java.lang.Enum<DeploymentAction.Type>
-
- org.jboss.as.controller.client.helpers.standalone.DeploymentAction.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<DeploymentAction.Type>
- Enclosing interface:
- DeploymentAction
public static enum DeploymentAction.Type extends Enum<DeploymentAction.Type>
Enumeration of valid types of deployment actions.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
Add content to the deployment content repository.ADD_CONTENT
Add content to an exploded deployment in content repository.DEPLOY
Deploy content into the runtime, without replacing existing content.EXPLODE
Explode a deployment content in the content repository.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.REDEPLOY
Undeploy existing content from the runtime and deploy it again.REMOVE
Remove content from the deployment content repository.REMOVE_CONTENT
Remove content from an exploded deployment in the content repository.REPLACE
Replace existing content in the runtime.UNDEPLOY
Undeploy content from the runtime.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeploymentAction.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeploymentAction.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final DeploymentAction.Type ADD
Add content to the deployment content repository. Does not imply deploying it into the runtime.
-
ADD_CONTENT
public static final DeploymentAction.Type ADD_CONTENT
Add content to an exploded deployment in 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.
-
EXPLODE
public static final DeploymentAction.Type EXPLODE
Explode a deployment content in the content repository. The content must have been previouslyadded to the content repository
.
-
REPLACE
public static final DeploymentAction.Type REPLACE
Replace existing content in the runtime. The new content must have been previouslyadded 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 anADD
,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 beenundeployed from all runtimes
.
-
REMOVE_CONTENT
public static final DeploymentAction.Type REMOVE_CONTENT
Remove content from an exploded deployment in the content repository. The content must have previously beenundeployed from all runtimes
.
-
-
Method Detail
-
values
public static DeploymentAction.Type[] 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 (DeploymentAction.Type c : DeploymentAction.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeploymentAction.Type 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
-
-