org.aspectj.org.eclipse.jdt.internal.core.search.indexing
Class IndexRequest

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.search.indexing.IndexRequest
All Implemented Interfaces:
IJob
Direct Known Subclasses:
IndexAllProject, IndexBinaryFolder, SaveIndex

public abstract class IndexRequest
extends java.lang.Object
implements IJob


Field Summary
protected  IPath containerPath
           
protected  boolean isCancelled
           
protected  IndexManager manager
           
 
Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.core.search.processing.IJob
CancelIfNotReady, COMPLETE, FAILED, ForceImmediate, WaitUntilReady
 
Constructor Summary
IndexRequest(IPath containerPath, IndexManager manager)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.aspectj.org.eclipse.jdt.internal.core.search.processing.IJob
execute
 

Field Detail

isCancelled

protected boolean isCancelled

containerPath

protected IPath containerPath

manager

protected IndexManager manager
Constructor Detail

IndexRequest

public IndexRequest(IPath containerPath,
                    IndexManager manager)
Method Detail

belongsTo

public boolean belongsTo(java.lang.String projectNameOrJarPath)
Description copied from interface: IJob
Answer true if the job belongs to a given family (tag)

Specified by:
belongsTo in interface IJob

cancel

public void cancel()
Description copied from interface: IJob
Asks this job to cancel its execution. The cancellation can take an undertermined amount of time.

Specified by:
cancel in interface IJob

ensureReadyToRun

public void ensureReadyToRun()
Description copied from interface: IJob
Ensures that this job is ready to run.

Specified by:
ensureReadyToRun in interface IJob

getJobFamily

public java.lang.String getJobFamily()
Description copied from interface: IJob
Returns this job's family

Specified by:
getJobFamily in interface IJob

updatedIndexState

protected java.lang.Integer updatedIndexState()