@PublicAPI public enum FlowBlock extends Enum<FlowBlock>
Each Task can hold a FlowBlock element; at least two tasks are needed to create a Task Block
Enum Constant and Description |
---|
END
Marks the ending of the last opened block
|
NONE
No specific block information
|
START
Marks the beginning of a new block
|
Modifier and Type | Method and Description |
---|---|
static FlowBlock |
parse(String str)
Parses a string containing the textual representation of a FlowBlock
|
String |
toString() |
static FlowBlock |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlowBlock[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlowBlock NONE
public static final FlowBlock START
public static final FlowBlock END
public static FlowBlock[] values()
for (FlowBlock c : FlowBlock.values()) System.out.println(c);
public static FlowBlock valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null