Interface TaskNodeVisitor

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TaskNodeVisitor
Visitor interface for a graph of tasks with dependencies.
Author:
Laurent Cohen
  • Method Details

    • visitTaskNode

      TaskNodeVisitResult visitTaskNode(TaskGraph.Node node)
      Visit the specified node.
      Parameters:
      node - the node to visit.
      Returns:
      the result of the node's visit as a TaskNodeVisitResult enum element.
    • preVisitNode

      default void preVisitNode(TaskGraph.Node node)
      Called before visiting the specified node.
      Parameters:
      node - the node to visit.
    • postVisitNode

      default void postVisitNode(TaskGraph.Node node)
      Called after visiting the specified node.
      Parameters:
      node - the node to visit.