Package Jobber :: Module interfaces :: Class IJobManager
[hide private]
[frames] | no frames]

Class IJobManager

source code

zope.interface.Interface --+
                           |
                          IJobManager

Provides a hub for the job subsystem. Can be queried to find the status of running or previous jobs. Jobs are created from here.

Instance Methods [hide private]
IJob
addJob(klass)
Create an instance of klass, which must implement IJob.
source code
 
getJobStatus(job)
Return the IJobStatus for a given IJob or job id.
source code
 
getUnfinishedJobs()
Return IJobStatus objects that have yet to finish.
source code
 
getRunningJobs()
Return IJobStatus objects that have started and have yet to finish.
source code
 
getPendingJobs()
Return IJobStatus objects that have yet to start.
source code
Method Details [hide private]

addJob(klass)

source code 
Create an instance of klass, which must implement IJob.
Returns: IJob
A Job instance.