Eclipse Platform
Release 3.1

org.eclipse.core.runtime.jobs
Interface IJobChangeEvent


public interface IJobChangeEvent

An event describing a change to the state of a job.

This interface is not intended to be implemented by clients.

Since:
3.0
See Also:
IJobChangeListener

Method Summary
 long getDelay()
          The amount of time in milliseconds to wait after scheduling the job before it should be run, or -1 if not applicable for this type of event.
 Job getJob()
          The job on which this event occurred.
 IStatus getResult()
          The result returned by the job's run method, or null if not applicable.
 

Method Detail

getDelay

public long getDelay()
The amount of time in milliseconds to wait after scheduling the job before it should be run, or -1 if not applicable for this type of event. This value is only applicable for the scheduled event.

Returns:
the delay time for this event

getJob

public Job getJob()
The job on which this event occurred.

Returns:
the job for this event

getResult

public IStatus getResult()
The result returned by the job's run method, or null if not applicable. This value is only applicable for the done event.

Returns:
the status for this event

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.