Package org.eclipse.ui.progress
Interface IJobRunnable
-
public interface IJobRunnableInterface for runnables that can be run as jobs.- Since:
- 3.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IStatusrun(IProgressMonitor monitor)Executes this runnable.
-
-
-
Method Detail
-
run
IStatus run(IProgressMonitor monitor)
Executes this runnable. Returns the result of the execution.The provided monitor can be used to report progress and respond to cancellation. If the progress monitor has been canceled, the runnable should finish its execution at the earliest convenience and return a result status of severity
IStatus.CANCEL. The singleton cancel statusStatus.CANCEL_STATUScan be used for this purpose.- Parameters:
monitor- the monitor to be used for reporting progress and responding to cancelation. The monitor is nevernull- Returns:
- resulting status of the run. The result must not be
null
-
-