public class JobChangeAdapter extends Object implements IJobChangeListener
IJobChangeListener
interface.
Classes that wish to listen to the progress of scheduled jobs can extend this class and override only the methods which they are interested in.
IJobChangeListener
Constructor and Description |
---|
JobChangeAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
aboutToRun(IJobChangeEvent event)
Notification that a job is about to be run.
|
void |
awake(IJobChangeEvent event)
Notification that a job was previously sleeping and has now been rescheduled
to run.
|
void |
done(IJobChangeEvent event)
Notification that a job has completed execution, either due to cancelation, successful
completion, or failure.
|
void |
running(IJobChangeEvent event)
Notification that a job has started running.
|
void |
scheduled(IJobChangeEvent event)
Notification that a job is being added to the queue of scheduled jobs.
|
void |
sleeping(IJobChangeEvent event)
Notification that a job was waiting to run and has now been put in the
sleeping state.
|
public void aboutToRun(IJobChangeEvent event)
IJobChangeListener
aboutToRun
in interface IJobChangeListener
event
- the event detailspublic void awake(IJobChangeEvent event)
IJobChangeListener
awake
in interface IJobChangeListener
event
- the event detailspublic void done(IJobChangeEvent event)
IJobChangeListener
done
in interface IJobChangeListener
event
- the event detailspublic void running(IJobChangeEvent event)
IJobChangeListener
running
in interface IJobChangeListener
event
- the event detailspublic void scheduled(IJobChangeEvent event)
IJobChangeListener
scheduled
in interface IJobChangeListener
event
- the event details, including the job instance and the scheduling
delaypublic void sleeping(IJobChangeEvent event)
IJobChangeListener
sleeping
in interface IJobChangeListener
event
- the event details
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.