Package org.eclipse.core.runtime.jobs
Interface IJobChangeEvent
public interface IJobChangeEvent
An event describing a change to the state of a job.
- Since:
- 3.0
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionlonggetDelay()The amount of time in milliseconds to wait after scheduling the job before it should be run, or-1if not applicable for this type of event.getJob()The job on which this event occurred.The result returned by the job's job group, if this event signals completion of the last job in a group, ornullif not applicable.The result returned by the job's run method, ornullif not applicable.
-
Method Details
-
getDelay
long getDelay()The amount of time in milliseconds to wait after scheduling the job before it should be run, or-1if not applicable for this type of event. This value is only applicable for thescheduledevent.- Returns:
- the delay time for this event
-
getJob
Job getJob()The job on which this event occurred.- Returns:
- the job for this event
-
getResult
IStatus getResult()The result returned by the job's run method, ornullif not applicable. This value is only applicable for thedoneevent.- Returns:
- the status for this event
-
getJobGroupResult
IStatus getJobGroupResult()The result returned by the job's job group, if this event signals completion of the last job in a group, ornullif not applicable. This value is only applicable for thedoneevent.- Returns:
- the job group status for this event, or
null - Since:
- 3.7
-