Class BundleWithTasks

java.lang.Object
org.jppf.utils.Pair<TaskBundle,List<Task<?>>>
org.jppf.node.protocol.BundleWithTasks
All Implemented Interfaces:
Serializable

public class BundleWithTasks extends Pair<TaskBundle,List<Task<?>>>
A convenient class to associate a TaskBundle and a list of Tasks.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • BundleWithTasks

      public BundleWithTasks(TaskBundle bundle, List<Task<?>> Tasks)
      Construct.
      Parameters:
      bundle - the task bundle.
      Tasks - the tasks.
  • Method Details

    • getBundle

      public TaskBundle getBundle()
      Returns:
      the task bundle.
    • getTasks

      public List<Task<?>> getTasks()
      Returns:
      the tasks.