public interface IJobRunnable
Modifier and Type | Method and Description |
---|---|
IStatus |
run(IProgressMonitor monitor)
Executes this runnable.
|
IStatus run(IProgressMonitor monitor)
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
status Status.CANCEL_STATUS
can be used for this purpose.
monitor
- the monitor to be used for reporting progress and responding
to cancelation. The monitor is never null
null
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.