enum ActionMode extends java.lang.Enum<ActionMode>
Enum Constant and Description |
---|
MEASUREMENT
Do measurement only.
|
UNDEF
No action.
|
WARMUP
Do warmup only.
|
WARMUP_MEASUREMENT
Do both warmup and measurement
|
Modifier and Type | Field and Description |
---|---|
private boolean |
doMeasurement |
private boolean |
doWarmup |
Modifier and Type | Method and Description |
---|---|
boolean |
doMeasurement() |
boolean |
doWarmup() |
static ActionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionMode UNDEF
public static final ActionMode WARMUP
public static final ActionMode MEASUREMENT
public static final ActionMode WARMUP_MEASUREMENT
private final boolean doWarmup
private final boolean doMeasurement
public static ActionMode[] values()
for (ActionMode c : ActionMode.values()) System.out.println(c);
public static ActionMode 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 boolean doWarmup()
public boolean doMeasurement()