public interface IJobSchedulerListener
Modifier and Type | Method and Description |
---|---|
void |
jobCancelled(JobEvent jobEvent)
This method is called if a job was cancelled by a call to the cancel()
method of the job.
|
void |
jobFinished(JobEvent jobEvent)
This method is called if a job is ready with its work and has finished.
|
void |
jobStarted(JobEvent jobEvent)
Called to notify the listener that a job was started and will begin to
work now.
|
void |
newJobWaiting(int mode)
Called to notify the listener that a job has been added to the list of
waiting jobs.
|
void newJobWaiting(int mode)
mode
- has to be one of the final variables MODE_* defined in the class
IJob to tell the listener which list has been modified
(foreground or background waiting jobs)void jobStarted(JobEvent jobEvent)
jobEvent
- a job event with additional informationvoid jobFinished(JobEvent jobEvent)
jobEvent
- a job event with additional informationvoid jobCancelled(JobEvent jobEvent)
jobEvent
- a job event with additional information