|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.jobs.JobChangeAdapter
This adapter class provides default implementations for the
methods described by the 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 Summary | |
JobChangeAdapter()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JobChangeAdapter()
Method Detail |
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
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.