Interface NESTSequentialWorkflowValidator

    • Method Detail

      • hasValidStartNode

        boolean hasValidStartNode()
        This method verifies that the sequential workflow has only one start node and that it is a task node.
        Returns:
        True, if start node is valid.
      • hasValidEndNode

        boolean hasValidEndNode()
        This method verifies that the sequential workflow has only one end node and that it is a task node.
        Returns:
        True, if end node is valid.
      • hasValidNodeTypes

        boolean hasValidNodeTypes()
        This method checks that the sequential workflow contains only task and data nodes and one workflow node.
        Returns:
        True, if all node types are valid.
      • hasValidSequence

        boolean hasValidSequence()
        This method verifies that the sequential workflow is a valid sequence. This means that each task node may have only one following task node and all task nodes must be between start and end nodes.
        Returns:
        True, if sequence is valid.
      • hasValidDataNodes

        boolean hasValidDataNodes()
        This method checks if all data nodes in the sequential workflow are valid. This is the case if all data nodes are connected to task nodes.
        Returns:
        True, if all data nodes are valid.
      • getGraph

        NESTAbstractWorkflowObject getGraph()
        This method returns the nest sequential object for which the validator was created.
        Specified by:
        getGraph in interface NESTGraphValidator
        Returns:
        The nest sequential workflow object for which the validator was created.