public abstract class IndexRequest extends java.lang.Object implements IJob
| Modifier and Type | Field and Description |
|---|---|
protected IPath |
containerPath |
protected boolean |
isCancelled |
protected IndexManager |
manager |
CancelIfNotReady, COMPLETE, FAILED, ForceImmediate, WaitUntilReady| Constructor and Description |
|---|
IndexRequest(IPath containerPath,
IndexManager manager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
belongsTo(java.lang.String projectNameOrJarPath)
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.
|
java.lang.String |
getJobFamily()
Returns this job's family
|
protected java.lang.Integer |
updatedIndexState() |
protected boolean isCancelled
protected IPath containerPath
protected IndexManager manager
public IndexRequest(IPath containerPath,
IndexManager manager)
public boolean belongsTo(java.lang.String projectNameOrJarPath)
IJobpublic void cancel()
IJobpublic void ensureReadyToRun()
IJobensureReadyToRun in interface IJobpublic java.lang.String getJobFamily()
IJobgetJobFamily in interface IJobprotected java.lang.Integer updatedIndexState()