Packagecom.adobe.csxs.service
Classpublic class JobManager

Through the JobManager an extension can add and remove Jobs. If a point product supports this API it will check for running jobs upong quitting, giving the user a chance to abort the shut down. Therefor it is vital to remove any Job if it has finished.



Public Methods
 MethodDefined by
  
Constructs the JobManager.
JobManager
  
addJob(job:Job):Boolean
Add the given Job.
JobManager
  
jobs():ArrayCollection
Returns a list of all currently running Jobs for this extension.
JobManager
  
removeJob(job:Job):Boolean
Removes the given Job.
JobManager
Constructor detail
JobManager()constructor
public function JobManager()

Constructs the JobManager.

Method detail
addJob()method
public function addJob(job:Job):Boolean

Add the given Job. Will return true if the Job was successfully added at the point product.

Parameters
job:Job — The Job to add.

Returns
Booleantrue if the Job was added successfully; else false.
jobs()method 
public function jobs():ArrayCollection

Returns a list of all currently running Jobs for this extension. The list shouldn't be modified.

Returns
ArrayCollection — The list of currently running Jobs.
removeJob()method 
public function removeJob(job:Job):Boolean

Removes the given Job. Will return true if the Job was successfully removed at the point product.

Parameters
job:Job — The Job to remove.

Returns
Booleantrue if the Job was removed successfully; else false.