Package org.eclipse.cdt.core.dom
Interface IPDOMIndexerTask
public interface IPDOMIndexerTask
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Takes files from another task and adds them to this task in front of all not yet processed files.default void
cancel()
Notifies the task that it should stop executing at its earliest convenience.Returns the indexer the task belongs to.org.eclipse.cdt.internal.core.pdom.IndexerProgress
Returns progress information for the task.void
run
(org.eclipse.core.runtime.IProgressMonitor monitor) Called by the framework to perform the task.
-
Field Details
-
TRACE_ACTIVITY
- See Also:
-
TRACE_STATISTICS
- See Also:
-
TRACE_INCLUSION_PROBLEMS
- See Also:
-
TRACE_SCANNER_PROBLEMS
- See Also:
-
TRACE_SYNTAX_PROBLEMS
- See Also:
-
TRACE_PROBLEMS
- See Also:
-
-
Method Details
-
run
Called by the framework to perform the task.- Throws:
InterruptedException
-
cancel
default void cancel()Notifies the task that it should stop executing at its earliest convenience. It's up to the task whether to react to this method or not.- Restriction:
- This method is not intended to be referenced by clients.
- Restriction:
- This default method is not intended to be re-implemented or extended by clients.
-
getIndexer
IPDOMIndexer getIndexer()Returns the indexer the task belongs to. -
getProgressInformation
org.eclipse.cdt.internal.core.pdom.IndexerProgress getProgressInformation()Returns progress information for the task.- Restriction:
- This method is not intended to be referenced by clients.
-
acceptUrgentTask
Takes files from another task and adds them to this task in front of all not yet processed files. The urgent work my be rejected if this task is not capable of accepting it, or if the amount of urgent work is too large compared to the work already assigned to this task.- Parameters:
task
- the task to add the work from.- Returns:
true
if the work was accepted,false
if it was rejected.- Since:
- 5.3
- See Also:
-
- "https://bugs.eclipse.org/bugs/show_bug.cgi?id=319330"
-