| Modifier and Type | Method and Description |
|---|---|
static StageType |
from(java.lang.String name) |
static StageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StageType DEFAULT
public static final StageType LEGACY
public static final StageType SYSTEM
public static StageType[] values()
for (StageType c : StageType.values()) System.out.println(c);
public static StageType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static StageType from(java.lang.String name)