public enum ReturnVersion extends Enum<ReturnVersion>
Enum Constant and Description |
---|
LASTESTMAJOR |
LATEST |
THIS |
Modifier and Type | Method and Description |
---|---|
static ReturnVersion |
fromValue(String v) |
String |
value() |
static ReturnVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnVersion THIS
public static final ReturnVersion LATEST
public static final ReturnVersion LASTESTMAJOR
public static ReturnVersion[] values()
for (ReturnVersion c : ReturnVersion.values()) System.out.println(c);
public static ReturnVersion 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 value()
public static ReturnVersion fromValue(String v)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.