Package org.restlet.engine
Enum Edition
- java.lang.Object
-
- java.lang.Enum<Edition>
-
- org.restlet.engine.Edition
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFullName()
Returns the full size name of the edition.java.lang.String
getMediumName()
Returns the medium size name of the edition.java.lang.String
getShortName()
Returns the short size name of the edition.static Edition
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Edition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANDROID
public static final Edition ANDROID
Android mobile OS, Google App Engine, Google Web Toolkit, JEE, JSE, OSGI.
-
GAE
public static final Edition GAE
-
GWT
public static final Edition GWT
-
JEE
public static final Edition JEE
-
JSE
public static final Edition JSE
-
OSGI
public static final Edition OSGI
-
-
Field Detail
-
CURRENT
public static final Edition CURRENT
The current engine edition.
-
-
Method Detail
-
values
public static Edition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Edition c : Edition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Edition valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getFullName
public java.lang.String getFullName()
Returns the full size name of the edition.- Returns:
- The full size of the edition.
-
getMediumName
public java.lang.String getMediumName()
Returns the medium size name of the edition.- Returns:
- The medium size name of the edition.
-
getShortName
public java.lang.String getShortName()
Returns the short size name of the edition.- Returns:
- The short size name of the edition.
-
-