Enum Class NodeRelations.NodeRelation
java.lang.Object
java.lang.Enum<NodeRelations.NodeRelation>
de.aristaflow.adept2.model.processmodel.tools.NodeRelations.NodeRelation
- All Implemented Interfaces:
Serializable,Comparable<NodeRelations.NodeRelation>,java.lang.constant.Constable
- Enclosing class:
- NodeRelations
This represents the relation between two nodes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthere exists an AFTER relation, no BEFORE / parallel / exclusive relationthe execution of the two nodes is exclusiveIf the nodes are executed, they are both executed.If one is executed, it is executed before two.If two is executed, one is optionally executed before twoOne or two might be executed, one always before two.the execution of the two nodes is parallel -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeRelations.NodeRelationReturns the enum constant of this class with the specified name.static NodeRelations.NodeRelation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ONE_BEFORE_TWO
If the nodes are executed, they are both executed. And one is executed, before two is executed -
ONE_OPTIONAL_BEFORE_TWO
If two is executed, one is optionally executed before two -
ONE_BEFORE_TWO_OPTIONAL
If one is executed, it is executed before two. But, the execution of two is optional. -
ONE_OPTIONAL_BEFORE_TWO_OPTIONAL
One or two might be executed, one always before two. If one executed, two might be executed afterwards. If two is executed, one might have been executed before. -
EXCLUSIVE
the execution of the two nodes is exclusive -
PARALLEL
the execution of the two nodes is parallel -
AFTER
there exists an AFTER relation, no BEFORE / parallel / exclusive relation
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-