public static enum ProcessTree.Type extends java.lang.Enum<ProcessTree.Type>
Enum Constant and Description |
---|
AND |
AUTOTASK |
DEF |
LOOPDEF |
LOOPXOR |
MANTASK |
MESSAGE |
OR |
PLACEHOLDER |
SEQ |
TIMEOUT |
XOR |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Node> |
getType() |
static ProcessTree.Type |
getTypeOf(Node node) |
java.lang.String |
toString() |
static ProcessTree.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProcessTree.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessTree.Type XOR
public static final ProcessTree.Type OR
public static final ProcessTree.Type AND
public static final ProcessTree.Type SEQ
public static final ProcessTree.Type DEF
public static final ProcessTree.Type LOOPXOR
public static final ProcessTree.Type LOOPDEF
public static final ProcessTree.Type PLACEHOLDER
public static final ProcessTree.Type AUTOTASK
public static final ProcessTree.Type MANTASK
public static final ProcessTree.Type TIMEOUT
public static final ProcessTree.Type MESSAGE
public static ProcessTree.Type[] values()
for (ProcessTree.Type c : ProcessTree.Type.values()) System.out.println(c);
public static ProcessTree.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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ProcessTree.Type>
public java.lang.Class<? extends Node> getType()
public static ProcessTree.Type getTypeOf(Node node)