public static enum Version.VersionType extends java.lang.Enum<Version.VersionType>
Enum Constant and Description |
---|
ALPHA |
BETA |
PRE_ALPHA |
PRE_BETA |
PRE_RELEASE |
PREVIEW |
RELEASE |
Modifier and Type | Method and Description |
---|---|
static Version.VersionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Version.VersionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Version.VersionType PRE_ALPHA
public static final Version.VersionType ALPHA
public static final Version.VersionType PREVIEW
public static final Version.VersionType PRE_BETA
public static final Version.VersionType BETA
public static final Version.VersionType PRE_RELEASE
public static final Version.VersionType RELEASE
public static Version.VersionType[] values()
for (Version.VersionType c : Version.VersionType.values()) System.out.println(c);
public static Version.VersionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null