|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Module.State>
org.appdapter.api.module.Module.State
public static enum Module.State
| Enum Constant Summary | |
|---|---|
IN_INIT
This state applies if and only if the initModule() method is currently executing. |
|
IN_RUN
This state applies if and only if the run() method is currently executing. |
|
IN_START
This state applies if and only if the start() method is currently executing. |
|
IN_STOP
This state applies if and only if the stop() method is currently executing. |
|
POST_STOP_OR_FAILED_STARTUP
Module is eligible to have releaseState() called, which is the only eligible method. |
|
PRE_INIT
This state applies if and only if no "action" methods of the Module interface have yet been called on this object. |
|
WAIT_TO_RUN_OR_STOP
Allowed xitions out = {IN_RUN or IN_STOP} |
|
WAIT_TO_START
First state the module must reliably return. |
|
| Method Summary | |
|---|---|
static Module.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Module.State[] |
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 Module.State PRE_INIT
public static final Module.State IN_INIT
public static final Module.State WAIT_TO_START
public static final Module.State IN_START
public static final Module.State WAIT_TO_RUN_OR_STOP
public static final Module.State IN_RUN
public static final Module.State IN_STOP
public static final Module.State POST_STOP_OR_FAILED_STARTUP
| Method Detail |
|---|
public static Module.State[] values()
for (Module.State c : Module.State.values()) System.out.println(c);
public static Module.State 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 | |||||||||