Class TaskGraphHelper

java.lang.Object
org.jppf.node.protocol.graph.TaskGraphHelper

public class TaskGraphHelper extends Object
Utility and factory methods to build and manipulate graphs of tasks.
Author:
Laurent Cohen
  • Constructor Details

    • TaskGraphHelper

      public TaskGraphHelper()
  • Method Details

    • graphOf

      public static TaskGraph graphOf(Collection<Task<?>> tasks)
      Build a task graph from the specified collection of tasks.
      Parameters:
      tasks - the task to covert to nodes int he graph.
      Returns:
      a newly created TaskGraph.