public static enum RestParameter.Type extends Enum<RestParameter.Type>
| Enum Constant and Description |
|---|
BOOLEAN |
FILE |
FLOAT |
INTEGER |
NO_PARAMETER |
STRING |
TEXT |
| Modifier and Type | Method and Description |
|---|---|
static RestParameter.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestParameter.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestParameter.Type NO_PARAMETER
public static final RestParameter.Type BOOLEAN
public static final RestParameter.Type FILE
public static final RestParameter.Type STRING
public static final RestParameter.Type TEXT
public static final RestParameter.Type INTEGER
public static final RestParameter.Type FLOAT
public static RestParameter.Type[] values()
for (RestParameter.Type c : RestParameter.Type.values()) System.out.println(c);
public static RestParameter.Type 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 nullCopyright © 2009–2021 Opencast Project. All rights reserved.