Enum Constant and Description |
---|
ACTIVE |
COOLDOWN |
INVALID |
REST |
WARMUP |
Modifier and Type | Field and Description |
---|---|
protected short |
value |
Modifier and Type | Method and Description |
---|---|
static Intensity |
getByValue(java.lang.Short value) |
static java.lang.String |
getStringFromValue(Intensity value)
Retrieves the String Representation of the Value
|
short |
getValue() |
static Intensity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Intensity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Intensity ACTIVE
public static final Intensity REST
public static final Intensity WARMUP
public static final Intensity COOLDOWN
public static final Intensity INVALID
public static Intensity[] values()
for (Intensity c : Intensity.values()) System.out.println(c);
public static Intensity 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 Intensity getByValue(java.lang.Short value)
public static java.lang.String getStringFromValue(Intensity value)
public short getValue()