public enum MavenVersionRule extends Enum<MavenVersionRule>
| Enum Constant and Description |
|---|
ALLOW_ALL |
NO_SNAPSHOT |
ONLY_SNAPSHOT |
| Modifier and Type | Method and Description |
|---|---|
static MavenVersionRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MavenVersionRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MavenVersionRule ALLOW_ALL
public static final MavenVersionRule NO_SNAPSHOT
public static final MavenVersionRule ONLY_SNAPSHOT
public static MavenVersionRule[] values()
for (MavenVersionRule c : MavenVersionRule.values()) System.out.println(c);
public static MavenVersionRule valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2015. All Rights Reserved.