public static enum DefaultOption.DrinkName extends Enum<DefaultOption.DrinkName>
Enum Constant and Description |
---|
BEER |
BOURBON |
BRANDY |
SCOTCH |
WHISKEY |
Modifier and Type | Method and Description |
---|---|
static DefaultOption.DrinkName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultOption.DrinkName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultOption.DrinkName BEER
public static final DefaultOption.DrinkName WHISKEY
public static final DefaultOption.DrinkName SCOTCH
public static final DefaultOption.DrinkName BOURBON
public static final DefaultOption.DrinkName BRANDY
public static DefaultOption.DrinkName[] values()
for (DefaultOption.DrinkName c : DefaultOption.DrinkName.values()) System.out.println(c);
public static DefaultOption.DrinkName 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 © 2003-2016 Kohsuke Kawaguchi. All Rights Reserved.