public static enum Version.Type extends Enum<Version.Type>
Enum Constant and Description |
---|
BETA
A released but not stable version.
|
SNAPSHOT
A not released build.
|
STABLE
A stable version.
|
Modifier and Type | Method and Description |
---|---|
static Version.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Version.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Version.Type SNAPSHOT
public static final Version.Type BETA
public static final Version.Type STABLE
public static Version.Type[] values()
for (Version.Type c : Version.Type.values()) System.out.println(c);
public static Version.Type 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 nullCopyright © 2004–2021 XWiki. All rights reserved.