public enum PassAs extends Enum<PassAs>
| Modifier and Type | Method and Description |
|---|---|
static PassAs |
forValue(String value) |
String |
toValue() |
static PassAs |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PassAs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PassAs HEADER
public static final PassAs QUERY
public static PassAs[] values()
for (PassAs c : PassAs.values()) System.out.println(c);
public static PassAs 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 toValue()
Copyright © 2015. All Rights Reserved.