Package org.apache.maven.plugins.deploy
Enum DeployMojo.SkipMode
- java.lang.Object
-
- java.lang.Enum<DeployMojo.SkipMode>
-
- org.apache.maven.plugins.deploy.DeployMojo.SkipMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DeployMojo.SkipMode>
- Enclosing class:
- DeployMojo
static enum DeployMojo.SkipMode extends java.lang.Enum<DeployMojo.SkipMode>
Recognised values for theskipparameter. Parsed once, fail-closed on unknown input.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateSkipMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeployMojo.SkipModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DeployMojo.SkipMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final DeployMojo.SkipMode NONE
-
ALL
public static final DeployMojo.SkipMode ALL
-
RELEASES
public static final DeployMojo.SkipMode RELEASES
-
SNAPSHOTS
public static final DeployMojo.SkipMode SNAPSHOTS
-
-
Method Detail
-
values
public static DeployMojo.SkipMode[] 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.SkipMode c : DeployMojo.SkipMode.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.SkipMode 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
-
-