Package hudson.maven
Enum MavenUtil.MavenVersion
- java.lang.Object
-
- java.lang.Enum<MavenUtil.MavenVersion>
-
- hudson.maven.MavenUtil.MavenVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<MavenUtil.MavenVersion>
- Enclosing class:
- MavenUtil
public static enum MavenUtil.MavenVersion extends Enum<MavenUtil.MavenVersion>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MavenUtil.MavenVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static MavenUtil.MavenVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAVEN_2
public static final MavenUtil.MavenVersion MAVEN_2
-
MAVEN_3_0_X
public static final MavenUtil.MavenVersion MAVEN_3_0_X
-
MAVEN_3_1
public static final MavenUtil.MavenVersion MAVEN_3_1
-
MAVEN_3_2
public static final MavenUtil.MavenVersion MAVEN_3_2
-
MAVEN_3_3
public static final MavenUtil.MavenVersion MAVEN_3_3
-
MAVEN_3_5
public static final MavenUtil.MavenVersion MAVEN_3_5
-
-
Method Detail
-
values
public static MavenUtil.MavenVersion[] 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 (MavenUtil.MavenVersion c : MavenUtil.MavenVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MavenUtil.MavenVersion 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
-
-