Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.core.runtime.jobs
Class JobChangeAdapter


java.lang.Object
  extended by 
org.eclipse.core.runtime.jobs.JobChangeAdapter
All Implemented Interfaces:
IJobChangeListener
Direct Known Subclasses:
TeamOperation

public class JobChangeAdapter
extends Object
implements IJobChangeListener

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.

Since:
3.0
See Also:
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

JobChangeAdapter

public JobChangeAdapter()
Method Detail

aboutToRun

public void aboutToRun(
IJobChangeEvent event)
Description copied from interface: IJobChangeListener
Notification that a job is about to be run. Listeners are allowed to sleep, cancel, or change the priority of the job before it is started (and as a result may prevent the run from actually occurring).

Specified by:
aboutToRun in interface IJobChangeListener
Parameters:
event - the event details

awake

public void awake(
IJobChangeEvent event)
Description copied from interface: IJobChangeListener
Notification that a job was previously sleeping and has now been rescheduled to run.

Specified by:
awake in interface IJobChangeListener
Parameters:
event - the event details

done

public void done(
IJobChangeEvent event)
Description copied from interface: IJobChangeListener
Notification that a job has completed execution, either due to cancelation, successful completion, or failure. The event status object indicates how the job finished, and the reason for failure, if applicable.

Specified by:
done in interface IJobChangeListener
Parameters:
event - the event details

running

public void running(
IJobChangeEvent event)
Description copied from interface: IJobChangeListener
Notification that a job has started running.

Specified by:
running in interface IJobChangeListener
Parameters:
event - the event details

scheduled

public void scheduled(
IJobChangeEvent event)
Description copied from interface: IJobChangeListener
Notification that a job is being added to the queue of scheduled jobs. The event details includes the scheduling delay before the job should start running.

Specified by:
scheduled in interface IJobChangeListener
Parameters:
event - the event details, including the job instance and the scheduling delay

sleeping

public void sleeping(
IJobChangeEvent event)
Description copied from interface: IJobChangeListener
Notification that a job was waiting to run and has now been put in the sleeping state.

Specified by:
sleeping in interface IJobChangeListener
Parameters:
event - the event details

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire