|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ConfigConstants.RunState>
org.alfresco.bm.server.ConfigConstants.RunState
public static enum ConfigConstants.RunState
An instruction to the main process on what action to take for the server.
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ConfigConstants.RunState RUN
public static final ConfigConstants.RunState PAUSE
public static final ConfigConstants.RunState STOP
public static final ConfigConstants.RunState RESTART
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||