org.gcube.portlets.admin.software_upload_wizard.shared.rpc.maven
Enum MavenVersionRule
java.lang.Object
java.lang.Enum<MavenVersionRule>
org.gcube.portlets.admin.software_upload_wizard.shared.rpc.maven.MavenVersionRule
- All Implemented Interfaces:
- Serializable, Comparable<MavenVersionRule>
public enum MavenVersionRule
- extends Enum<MavenVersionRule>
ALLOW_ALL
public static final MavenVersionRule ALLOW_ALL
NO_SNAPSHOT
public static final MavenVersionRule NO_SNAPSHOT
ONLY_SNAPSHOT
public static final MavenVersionRule ONLY_SNAPSHOT
values
public static MavenVersionRule[] 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 (MavenVersionRule c : MavenVersionRule.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MavenVersionRule 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 © 2013. All Rights Reserved.