Inherits from OGWAspect : NSObject
Conforms to OGWUpdateableAspect
Declared in OGWJobAspect.h

Overview

Runs OGWJob task sequences on an entity.

Properties

currentJob

The currently running job. Nil if no job is running

@property (readonly) OGWJob *currentJob

Return Value

The currently running job. Nil if no job is running

Declared In

OGWJobAspect.h

Instance Methods

cancelAllJobs

Cancels all running and queued jobs.

- (void)cancelAllJobs

Declared In

OGWJobAspect.h

cancelCurrentJob

Cancels the currently running job. The next job in the queue, if any, will run.

- (void)cancelCurrentJob

Declared In

OGWJobAspect.h

queueJob:

Queues a given job and runs it when all previous jobs have finished. If no jobs are running this will imediately run the job.

- (void)queueJob:(OGWJob *)job

Parameters

job

The job to run.

Declared In

OGWJobAspect.h