Class AddJrtToIndex
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.indexing.IndexRequest
org.aspectj.org.eclipse.jdt.internal.core.search.indexing.BinaryContainer
org.aspectj.org.eclipse.jdt.internal.core.search.indexing.AddJrtToIndex
- All Implemented Interfaces:
IJob
-
Field Summary
Fields inherited from class IndexRequest
containerPath, isCancelled, managerModifier and TypeFieldDescriptionprotected org.eclipse.core.runtime.IPathprotected booleanprotected IndexManagerFields inherited from interface IJob
CancelIfNotReady, COMPLETE, FAILED, ForceImmediate, WaitUntilReadyModifier and TypeFieldDescriptionstatic final intstatic final booleanstatic final booleanstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionAddJrtToIndex(org.eclipse.core.resources.IFile resource, IndexLocation indexFile, IndexManager manager, boolean updateIndex) AddJrtToIndex(org.eclipse.core.runtime.IPath jrtPath, IndexLocation indexFile, IndexManager manager, boolean updateIndex) -
Method Summary
Methods inherited from class BinaryContainer
isValidPackageNameForClassOrisModuleModifier and TypeMethodDescriptionprotected booleanisValidPackageNameForClassOrisModule(String className) Methods inherited from class IndexRequest
belongsTo, cancel, ensureReadyToRun, waitNeededModifier and TypeMethodDescriptionbooleanAnswer true if the job belongs to a given family (tag)voidcancel()Asks this job to cancel its execution.voidEnsures that this job is ready to run.booleanAnswers if we need some sleep after index write operations.
-
Constructor Details
-
AddJrtToIndex
public AddJrtToIndex(org.eclipse.core.resources.IFile resource, IndexLocation indexFile, IndexManager manager, boolean updateIndex) -
AddJrtToIndex
public AddJrtToIndex(org.eclipse.core.runtime.IPath jrtPath, IndexLocation indexFile, IndexManager manager, boolean updateIndex)
-
-
Method Details
-
equals
-
hashCode
-
execute
public boolean execute(org.eclipse.core.runtime.IProgressMonitor progressMonitor) Description copied from interface:IJobExecute the current job, answer whether it was successful. -
getJobFamily
Description copied from interface:IJobReturns this job's family- Specified by:
getJobFamilyin interfaceIJob- Overrides:
getJobFamilyin classIndexRequest
-
updatedIndexState
- Overrides:
updatedIndexStatein classIndexRequest
-
toString
-
hasPreBuiltIndex
protected boolean hasPreBuiltIndex()
-