public static enum Updater.ReleaseType extends java.lang.Enum<Updater.ReleaseType>
Enum Constant and Description |
---|
ALPHA
An "alpha" file.
|
BETA
A "beta" file.
|
RELEASE
A "release" file.
|
Modifier and Type | Method and Description |
---|---|
static Updater.ReleaseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Updater.ReleaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Updater.ReleaseType ALPHA
public static final Updater.ReleaseType BETA
public static final Updater.ReleaseType RELEASE
public static Updater.ReleaseType[] values()
for (Updater.ReleaseType c : Updater.ReleaseType.values()) System.out.println(c);
public static Updater.ReleaseType 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