|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<RTKInterface.CommandType>
com.drdanick.McRKit.api.RTKInterface.CommandType
public static enum RTKInterface.CommandType
Defines the type of action to perform.
| Enum Constant Summary | |
|---|---|
DISABLE_RESTARTS
Disables wrapper restarts WARNING: As of now this does not stop scheduled events, only the restart-on-stop event. |
|
ENABLE_RESTARTS
Enables wrapper restarts |
|
FORCE_RESTART
Recquest a forceful restart |
|
FORCE_STOP
Request a forceful stop |
|
HOLD_SERVER
Stop the server until UNHOLD_SERVER is called |
|
RESCHEDULE_RESTART
Reschedule the next restart. |
|
RESTART
Request a restart |
|
UNHOLD_SERVER
Unhold and start a held server |
|
VERSION
Request the wrapper version |
|
| Method Summary | |
|---|---|
static RTKInterface.CommandType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RTKInterface.CommandType[] |
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 RTKInterface.CommandType RESTART
public static final RTKInterface.CommandType FORCE_RESTART
public static final RTKInterface.CommandType FORCE_STOP
public static final RTKInterface.CommandType VERSION
public static final RTKInterface.CommandType DISABLE_RESTARTS
public static final RTKInterface.CommandType ENABLE_RESTARTS
public static final RTKInterface.CommandType HOLD_SERVER
public static final RTKInterface.CommandType UNHOLD_SERVER
public static final RTKInterface.CommandType RESCHEDULE_RESTART
executeCommand.
RTKInterface.executeCommand(com.drdanick.McRKit.api.RTKInterface.CommandType, java.lang.String)| Method Detail |
|---|
public static RTKInterface.CommandType[] values()
for (RTKInterface.CommandType c : RTKInterface.CommandType.values()) System.out.println(c);
public static RTKInterface.CommandType 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 name
java.lang.NullPointerException - if the argument is null
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||