Parallel.TaskList (Apache Ant API)
Description: declaration: package: org.apache.tools.ant.taskdefs, class: Parallel, class: TaskList

Package org.apache.tools.ant.taskdefs

# Class Parallel.TaskList

java.lang.Object
org.apache.tools.ant.taskdefs.Parallel.TaskList

All Implemented Interfaces:
  `TaskContainer`

Enclosing class:
  `Parallel`

public static class Parallel.TaskList extends Object implements TaskContainer
Class which holds a list of tasks to execute

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TaskList()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addTask(Task nestedTask)`
  Add a nested task to execute in parallel (asynchronously).

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TaskList

    public TaskList()

- ## Method Details

  - ### addTask

    public void addTask(Task nestedTask)
    Add a nested task to execute in parallel (asynchronously).

    Specified by:
      `addTask` in interface `TaskContainer`
    Parameters:
      `nestedTask` - Nested task to be executed in parallel. must not be null.