|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TransitionType>
org.squirrelframework.foundation.fsm.TransitionType
public enum TransitionType
The type of transition. According to the UML specification (2.5 b1 pag. 377), state machine transition can be divided into three type.
| Enum Constant Summary | |
|---|---|
EXTERNAL
Implies that the Transition, if triggered, will exit the composite (source) State. |
|
INTERNAL
Implies that the Transition, if triggered, occurs without exiting or entering the source State (i.e., it does not cause a state change). |
|
LOCAL
Implies that the Transition, if triggered, will not exit the composite (source) State, but it will exit and re-enter any state within the composite State that is in the current state configuration. |
|
| Method Summary | |
|---|---|
static TransitionType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TransitionType[] |
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 TransitionType INTERNAL
public static final TransitionType LOCAL
public static final TransitionType EXTERNAL
| Method Detail |
|---|
public static TransitionType[] values()
for (TransitionType c : TransitionType.values()) System.out.println(c);
public static TransitionType 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 | |||||||||