org.jboss.aerogear.controller.router.parameter
Enum Parameter.Type
java.lang.Object
java.lang.Enum<Parameter.Type>
org.jboss.aerogear.controller.router.parameter.Parameter.Type
- All Implemented Interfaces:
- Serializable, Comparable<Parameter.Type>
- Enclosing class:
- Parameter<T>
public static enum Parameter.Type
- extends Enum<Parameter.Type>
|
Method Summary |
static Parameter.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Parameter.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
REQUEST
public static final Parameter.Type REQUEST
ENTITY
public static final Parameter.Type ENTITY
CONSTANT
public static final Parameter.Type CONSTANT
REPLACEMENT
public static final Parameter.Type REPLACEMENT
values
public static Parameter.Type[] 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 (Parameter.Type c : Parameter.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Parameter.Type valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.