org.jboss.as.plugin.deployment
Enum Deployment.Type
java.lang.Object
java.lang.Enum<Deployment.Type>
org.jboss.as.plugin.deployment.Deployment.Type
- All Implemented Interfaces:
- Serializable, Comparable<Deployment.Type>
- Enclosing interface:
- Deployment
public static enum Deployment.Type
- extends Enum<Deployment.Type>
|
Method Summary |
static Deployment.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Deployment.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
ADD
public static final Deployment.Type ADD
FORCE_ADD
public static final Deployment.Type FORCE_ADD
DEPLOY
public static final Deployment.Type DEPLOY
FORCE_DEPLOY
public static final Deployment.Type FORCE_DEPLOY
UNDEPLOY
public static final Deployment.Type UNDEPLOY
UNDEPLOY_IGNORE_MISSING
public static final Deployment.Type UNDEPLOY_IGNORE_MISSING
REDEPLOY
public static final Deployment.Type REDEPLOY
values
public static Deployment.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 (Deployment.Type c : Deployment.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 Deployment.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 name
NullPointerException - if the argument is null
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.