public enum VersionType extends java.lang.Enum<VersionType>
Enum Constant and Description |
---|
ALPHA |
BETA |
PRE_ALPHA |
PRE_BETA |
PRE_RELEASE |
PREVIEW |
RELEASE |
REVISION |
UPDATE |
VERSION |
Modifier and Type | Method and Description |
---|---|
static VersionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VersionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionType PRE_ALPHA
public static final VersionType ALPHA
public static final VersionType PREVIEW
public static final VersionType PRE_BETA
public static final VersionType BETA
public static final VersionType PRE_RELEASE
public static final VersionType RELEASE
public static final VersionType REVISION
public static final VersionType VERSION
public static final VersionType UPDATE
public static VersionType[] values()
for (VersionType c : VersionType.values()) System.out.println(c);
public static 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