public enum VersionType extends Enum<VersionType>
VersionTypes| Enum Constant and Description |
|---|
ALPHA
An alpha version, commonly used for unstable or incomplete releases
An alpha version should at least have some working features, and be able to run |
BETA
A beta version, commonly used for mostly stable releases with some features missing
Beta versions do contain bugs, but they are generally safe to use |
RC
A release candidate, commonly used to find and fix any lasting bugs
Release candidates are usually stable, and are released for testing. |
SNAPSHOT
A snapshot, commonly referred to as a nightly build
These builds are usually unstable and may not actually build/compile. |
STABLE
A stable release, also known as "Gold"
There's nothing else to say. |
| Modifier and Type | Method and Description |
|---|---|
String |
getPostfix()
Gets the postfix for this
VersionType |
static VersionType |
valueOf(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 SNAPSHOT
public static final VersionType ALPHA
public static final VersionType BETA
public static final VersionType RC
public static final VersionType STABLE
public static VersionType[] values()
for (VersionType c : VersionType.values()) System.out.println(c);
public static VersionType 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 nullpublic String getPostfix()
VersionTypeCopyright © 2012 Massive Dynamics. All Rights Reserved.