public enum APIVersions extends Enum<APIVersions>
| Enum Constant and Description |
|---|
V1 |
| Modifier and Type | Method and Description |
|---|---|
abstract org.restlet.Restlet |
createChain(org.restlet.Application application) |
String |
getName() |
static APIVersions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static APIVersions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIVersions V1
public static APIVersions[] values()
for (APIVersions c : APIVersions.values()) System.out.println(c);
public static APIVersions 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 getName()
public abstract org.restlet.Restlet createChain(org.restlet.Application application)