Soong
Soong provides a general-purpose ETL library for data migration.
TaskContainer Interface Reference

Interface for managing tasks as part of a pipeline. More...

Inheritance diagram for TaskContainer:
SimpleTaskContainer

Public Member Functions

 get (string $id)
 Retrieve the specified task. More...
 
 getAll ()
 Retrieve a list of all tasks. More...
 
 add (string $id, Task $task)
 Add an existing task object with the given task ID. More...
 

Detailed Description

Interface for managing tasks as part of a pipeline.

Member Function Documentation

◆ get()

get ( string  $id)

Retrieve the specified task.

Parameters
string$idID of the task to retrieve.
Returns
Task The specified task.
Exceptions

Implemented in SimpleTaskContainer.

◆ getAll()

getAll ( )

Retrieve a list of all tasks.

Returns
Task[] List of tasks, keyed by ID.

Implemented in SimpleTaskContainer.

◆ add()

add ( string  $id,
Task  $task 
)

Add an existing task object with the given task ID.

Parameters
string$idID of the task to add.
Task$taskTask object to add.
Returns
void
Exceptions

Implemented in SimpleTaskContainer.