|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ServiceController.Transition>
org.jboss.msc.service.ServiceController.Transition
public static enum ServiceController.Transition
A transition from one substate to another. The list of possible transitions may change over time, so users should not rely on its permanence.
| Method Summary | |
|---|---|
boolean |
entersRestState()
Determine whether this transition causes movement from a non-rest state to a rest state. |
ServiceController.Substate |
getAfter()
Get the target (new) state of this transition. |
ServiceController.Substate |
getBefore()
Get the source state of this transition. |
boolean |
leavesRestState()
Determine whether this transition causes movement from a rest state to a non-rest state. |
String |
toString()
Get the string representation of this transition. |
static ServiceController.Transition |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ServiceController.Transition[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ServiceController.Transition START_REQUESTED_to_DOWN
START_REQUESTED to DOWN.
public static final ServiceController.Transition START_REQUESTED_to_PROBLEM
START_REQUESTED to PROBLEM.
public static final ServiceController.Transition START_REQUESTED_to_START_INITIATING
START_REQUESTED to START_INITIATING.
public static final ServiceController.Transition PROBLEM_to_START_REQUESTED
PROBLEM to START_REQUESTED.
public static final ServiceController.Transition START_INITIATING_to_STARTING
START_INITIATING to STARTING.
public static final ServiceController.Transition STARTING_to_UP
STARTING to UP.
public static final ServiceController.Transition STARTING_to_START_FAILED
STARTING to START_FAILED.
public static final ServiceController.Transition START_FAILED_to_STARTING
START_FAILED to START_INITIATING.
public static final ServiceController.Transition START_FAILED_to_DOWN
START_FAILED to DOWN.
public static final ServiceController.Transition UP_to_STOP_REQUESTED
UP to STOP_REQUESTED.
public static final ServiceController.Transition STOP_REQUESTED_to_UP
STOP_REQUESTED to UP.
public static final ServiceController.Transition STOP_REQUESTED_to_STOPPING
STOP_REQUESTED to STOPPING.
public static final ServiceController.Transition STOPPING_to_DOWN
STOPPING to DOWN.
public static final ServiceController.Transition REMOVING_to_REMOVED
REMOVING to REMOVED.
public static final ServiceController.Transition REMOVING_to_DOWN
REMOVING to DOWN.
public static final ServiceController.Transition DOWN_to_REMOVING
DOWN to REMOVING.
public static final ServiceController.Transition DOWN_to_START_REQUESTED
DOWN to START_REQUESTED.
public static final ServiceController.Transition DOWN_to_WAITING
DOWN to WAITING.
public static final ServiceController.Transition DOWN_to_WONT_START
DOWN to WONT_START.
public static final ServiceController.Transition WAITING_to_DOWN
WAITING to DOWN.
public static final ServiceController.Transition WONT_START_to_DOWN
WONT_START to DOWN.
| Method Detail |
|---|
public static ServiceController.Transition[] values()
for (ServiceController.Transition c : ServiceController.Transition.values()) System.out.println(c);
public static ServiceController.Transition 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 nullpublic boolean leavesRestState()
true if this transition leaves a rest statepublic boolean entersRestState()
true if this transition enters a rest statepublic ServiceController.Substate getBefore()
public ServiceController.Substate getAfter()
public String toString()
toString in class Enum<ServiceController.Transition>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||