public enum WktStepTarget extends java.lang.Enum<WktStepTarget>
Enum Constant and Description |
---|
CADENCE |
GRADE |
HEART_RATE |
HEART_RATE_LAP |
INVALID |
OPEN |
POWER |
POWER_10S |
POWER_30S |
POWER_3S |
POWER_LAP |
RESISTANCE |
SPEED |
SPEED_LAP |
SWIM_STROKE |
Modifier and Type | Field and Description |
---|---|
protected short |
value |
Modifier and Type | Method and Description |
---|---|
static WktStepTarget |
getByValue(java.lang.Short value) |
static java.lang.String |
getStringFromValue(WktStepTarget value)
Retrieves the String Representation of the Value
|
short |
getValue() |
static WktStepTarget |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WktStepTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WktStepTarget SPEED
public static final WktStepTarget HEART_RATE
public static final WktStepTarget OPEN
public static final WktStepTarget CADENCE
public static final WktStepTarget POWER
public static final WktStepTarget GRADE
public static final WktStepTarget RESISTANCE
public static final WktStepTarget POWER_3S
public static final WktStepTarget POWER_10S
public static final WktStepTarget POWER_30S
public static final WktStepTarget POWER_LAP
public static final WktStepTarget SWIM_STROKE
public static final WktStepTarget SPEED_LAP
public static final WktStepTarget HEART_RATE_LAP
public static final WktStepTarget INVALID
public static WktStepTarget[] values()
for (WktStepTarget c : WktStepTarget.values()) System.out.println(c);
public static WktStepTarget 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 WktStepTarget getByValue(java.lang.Short value)
public static java.lang.String getStringFromValue(WktStepTarget value)
value
- The enum constantpublic short getValue()