# Library Foundation

# Package Tasks

## Overview

Classes: Task, TaskCancelledNotification, TaskCustomNotification, TaskFailedNotification, TaskFinishedNotification, TaskManager, TaskNotification, TaskProgressNotification, TaskStartedNotification

## Classes

### class Task

A Task is a subclass of Runnable that has a name and supports progress reporting and cancellation.

### class TaskCancelledNotification

This notification is posted by the TaskManager for every task that has been cancelled.

### class TaskCustomNotification

This is a template for "custom" notification.

### class TaskFailedNotification

This notification is posted by the TaskManager for every task that has failed with an exception.

### class TaskFinishedNotification

This notification is posted by the TaskManager for every task that has finished.

### class TaskManager

The TaskManager manages a collection of tasks and monitors their lifetime.

### class TaskNotification

Base class for TaskManager notifications.

### class TaskProgressNotification

This notification is posted by the TaskManager for a task when its progress changes.

### class TaskStartedNotification

This notification is posted by the TaskManager for every task that has been started.