Nu Class Reference

NukeTask

A task description, complete with action and dependency information.

Superclass: NSObject
Declared in: tools/nuke

NukeTasks are used to represent tasks in nuke, the Nu build tool. A NukeTask may be associated with a file or may represent an abstract set of operations. Tasks have dependencies; each dependency must be satisfied before the task action is attempted. In nuke, tasks are created using the task and file macros.

Methods

- (id) dependencies
Get the array containing the task's dependencies.

in tools/nuke

- (id) initWithName: (id) name
Create a task with a specified name.

in tools/nuke

- (int) isFile
Determine whether or not a task is a file creation task.

in tools/nuke

- (id) name
Get a task's name.

in tools/nuke

- (void) setAction: (id) action
Set the action of a task to a specified block.

in tools/nuke

- (void) setIsFile: (int) f
Indicate whether or not a task is a file creation task.

in tools/nuke

- (id) taskDescription
Get a task's description.

in tools/nuke

- (id) timestamp
Get a time stamp for the target of a task.

in tools/nuke

- (id) update
Attempt to update a task, first by updating all its dependencies, then, if no errors occurred, by performing the the action of a task.

in tools/nuke