public enum Flavour extends Enum<Flavour>
| Enum Constant and Description |
|---|
JAVA_HOOK |
JAVA_INGREDIENT |
TYPESCRIPT_INGREDIENT |
| Modifier and Type | Method and Description |
|---|---|
static Flavour |
fromAlias(String alias) |
static Flavour |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flavour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flavour JAVA_HOOK
public static final Flavour JAVA_INGREDIENT
public static final Flavour TYPESCRIPT_INGREDIENT
public static Flavour[] values()
for (Flavour c : Flavour.values()) System.out.println(c);
public static Flavour 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 © 2018. All rights reserved.