public static enum ConfigConstants.RunState extends Enum<ConfigConstants.RunState>
| Enum Constant and Description |
|---|
PAUSE
The server will run but without any benchmark processing.
|
RESTART
Restart the server; not an error condition.
|
RUN
The server will run and process benchmark events.
|
STOP
Stop the server completely; requires a manual restart.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigConstants.RunState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigConstants.RunState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigConstants.RunState RUN
public static final ConfigConstants.RunState PAUSE
public static final ConfigConstants.RunState STOP
public static final ConfigConstants.RunState RESTART
public static ConfigConstants.RunState[] values()
for (ConfigConstants.RunState c : ConfigConstants.RunState.values()) System.out.println(c);
public static ConfigConstants.RunState 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 © 2014. All rights reserved.