public static enum TimeoutEvent.Type extends java.lang.Enum<TimeoutEvent.Type>
+-----------------------------------------> | TimeoutEvent(timeout) +---+ | S |------+ +---+ | A loop transition ^ | The timeout would be always restarted without any real | | change of the state if the loop transition was processed. +--------+
Transition.Transition(State, Event)
Enum Constant and Description |
---|
LOOP_NO_RESTART
Don't restart the timeout on loop transition and let the previous to
remain active.
|
LOOP_RESTART
Restart the timeout on loop transition.
|
Modifier and Type | Method and Description |
---|---|
static TimeoutEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimeoutEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeoutEvent.Type LOOP_RESTART
public static final TimeoutEvent.Type LOOP_NO_RESTART
public static TimeoutEvent.Type[] values()
for (TimeoutEvent.Type c : TimeoutEvent.Type.values()) System.out.println(c);
public static TimeoutEvent.Type 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 namejava.lang.NullPointerException
- if the argument is nullCopyright 2013 Michal Turek, AnotherFSM.