Returns the set of Locks required for this task to begin. These are checked before canStart.
Returns the set of ITasks that need to be completed for this task to begin.
Stops this task, moving it the Finished state and potentially calling onFinish.
Add the provided before task as a dependency for this task.
Add the provided lock lock as a dependency for this task.
Stops this task, moving it the Cancelled state and potentially calling onFinish.
Sets up the provided other task to run after this task completes, adding it to the dependency tree.