Enum NodeRelations.NodeRelation

    • Enum Constant Detail

      • ONE_BEFORE_TWO

        public static final NodeRelations.NodeRelation ONE_BEFORE_TWO
        If the nodes are executed, they are both executed. And one is executed, before two is executed
      • ONE_OPTIONAL_BEFORE_TWO

        public static final NodeRelations.NodeRelation ONE_OPTIONAL_BEFORE_TWO
        If two is executed, one is optionally executed before two
      • ONE_BEFORE_TWO_OPTIONAL

        public static final NodeRelations.NodeRelation 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

        public static final NodeRelations.NodeRelation 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.
      • AFTER

        public static final NodeRelations.NodeRelation AFTER
        there exists an AFTER relation, no BEFORE / parallel / exclusive relation
    • Method Detail

      • values

        public static NodeRelations.NodeRelation[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (NodeRelations.NodeRelation c : NodeRelations.NodeRelation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NodeRelations.NodeRelation valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null