Package org.apache.maven.plugins.deploy
Enum DeployMojo.State
- java.lang.Object
-
- java.lang.Enum<DeployMojo.State>
-
- org.apache.maven.plugins.deploy.DeployMojo.State
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DeployMojo.State>
- Enclosing class:
- DeployMojo
private static enum DeployMojo.State extends java.lang.Enum<DeployMojo.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPLOYEDSKIPPEDTO_BE_DEPLOYED
-
Constructor Summary
Constructors Modifier Constructor Description privateState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeployMojo.StatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DeployMojo.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SKIPPED
public static final DeployMojo.State SKIPPED
-
DEPLOYED
public static final DeployMojo.State DEPLOYED
-
TO_BE_DEPLOYED
public static final DeployMojo.State TO_BE_DEPLOYED
-
-
Method Detail
-
values
public static DeployMojo.State[] 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 (DeployMojo.State c : DeployMojo.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeployMojo.State valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-