public interface IJob
| Modifier and Type | Field and Description |
|---|---|
static int |
CancelIfNotReady |
static boolean |
COMPLETE |
static boolean |
FAILED |
static int |
ForceImmediate |
static int |
WaitUntilReady |
| Modifier and Type | Method and Description |
|---|---|
boolean |
belongsTo(java.lang.String jobFamily)
Answer true if the job belongs to a given family (tag)
|
void |
cancel()
Asks this job to cancel its execution.
|
void |
ensureReadyToRun()
Ensures that this job is ready to run.
|
boolean |
execute(IProgressMonitor progress)
Execute the current job, answer whether it was successful.
|
java.lang.String |
getJobFamily()
Returns this job's family
|
default boolean |
waitNeeded()
Answers if we need some sleep after index write operations.
|
static final int ForceImmediate
static final int CancelIfNotReady
static final int WaitUntilReady
static final boolean FAILED
static final boolean COMPLETE
boolean belongsTo(java.lang.String jobFamily)
void cancel()
void ensureReadyToRun()
boolean execute(IProgressMonitor progress)
java.lang.String getJobFamily()
default boolean waitNeeded()
false.