public static enum APIConstants.VersionMode extends java.lang.Enum<APIConstants.VersionMode>
Enum Constant and Description |
---|
ALL_VERSIONS
ALL_VERSIONS - Refers to all elements.
|
CURRENT_VERSION
CURRENT_VERSION - Refers to the present/current version.
|
SPECIFIC_VERSION
SPECIFIC_VERSION - Refers to a particular version.
|
Modifier and Type | Method and Description |
---|---|
static APIConstants.VersionMode |
getVersionMode(java.lang.String value) |
static APIConstants.VersionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static APIConstants.VersionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIConstants.VersionMode ALL_VERSIONS
public static final APIConstants.VersionMode CURRENT_VERSION
public static final APIConstants.VersionMode SPECIFIC_VERSION
public static APIConstants.VersionMode[] values()
for (APIConstants.VersionMode c : APIConstants.VersionMode.values()) System.out.println(c);
public static APIConstants.VersionMode 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 nullpublic static APIConstants.VersionMode getVersionMode(java.lang.String value)
value
-