public static enum Revision.Precision extends java.lang.Enum<Revision.Precision>
| Enum Constant and Description |
|---|
MAJOR
Only major revision specified: 1 term
|
MICRO
Major, minor and micro revisions specified: 3 terms (x.y.z)
|
MINOR
Only major and minor revisions specified: 2 terms (x.y)
|
PREVIEW
Major, minor, micro and preview revisions specified: 4 terms (x.y.z-rcN)
|
| Modifier and Type | Method and Description |
|---|---|
static Revision.Precision |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Revision.Precision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Revision.Precision MAJOR
public static final Revision.Precision MINOR
public static final Revision.Precision MICRO
public static final Revision.Precision PREVIEW
public static Revision.Precision[] values()
for (Revision.Precision c : Revision.Precision.values()) System.out.println(c);
public static Revision.Precision 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