public static enum CmdLogicBoard.ClbEvent extends java.lang.Enum<CmdLogicBoard.ClbEvent>
Enum Constant and Description |
---|
CONFIGURE |
CONTINUE |
INIT |
PAUSE |
QUIT |
RESET |
START |
STOP |
Modifier and Type | Field and Description |
---|---|
int |
id |
java.lang.String |
name |
CmdLogicBoard.ClbState |
source |
CmdLogicBoard.ClbState |
target |
Modifier and Type | Method and Description |
---|---|
static CmdLogicBoard.ClbEvent |
byID(int id) |
static java.util.List<CmdLogicBoard.ClbEvent> |
bySourceState(CmdLogicBoard.ClbState source) |
static CmdLogicBoard.ClbEvent |
findTransition(CmdLogicBoard.ClbState source,
CmdLogicBoard.ClbState target) |
static boolean |
isTransition(CmdLogicBoard.ClbState source,
CmdLogicBoard.ClbState target) |
java.lang.String |
toString() |
static CmdLogicBoard.ClbEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CmdLogicBoard.ClbEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmdLogicBoard.ClbEvent INIT
public static final CmdLogicBoard.ClbEvent CONFIGURE
public static final CmdLogicBoard.ClbEvent START
public static final CmdLogicBoard.ClbEvent PAUSE
public static final CmdLogicBoard.ClbEvent CONTINUE
public static final CmdLogicBoard.ClbEvent STOP
public static final CmdLogicBoard.ClbEvent QUIT
public static final CmdLogicBoard.ClbEvent RESET
public final int id
public final java.lang.String name
public final CmdLogicBoard.ClbState source
public final CmdLogicBoard.ClbState target
public static CmdLogicBoard.ClbEvent[] values()
for (CmdLogicBoard.ClbEvent c : CmdLogicBoard.ClbEvent.values()) System.out.println(c);
public static CmdLogicBoard.ClbEvent 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 nullpublic static CmdLogicBoard.ClbEvent byID(int id)
public static java.util.List<CmdLogicBoard.ClbEvent> bySourceState(CmdLogicBoard.ClbState source)
public static CmdLogicBoard.ClbEvent findTransition(CmdLogicBoard.ClbState source, CmdLogicBoard.ClbState target)
public static boolean isTransition(CmdLogicBoard.ClbState source, CmdLogicBoard.ClbState target)
public java.lang.String toString()
toString
in class java.lang.Enum<CmdLogicBoard.ClbEvent>