public class TriggerNotificationTask extends java.lang.Object implements IPDOMIndexerTask
TRACE_ACTIVITY, TRACE_INCLUSION_PROBLEMS, TRACE_PROBLEMS, TRACE_SCANNER_PROBLEMS, TRACE_STATISTICS, TRACE_SYNTAX_PROBLEMS
Constructor and Description |
---|
TriggerNotificationTask(PDOMManager manager,
WritablePDOM pdom) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptUrgentTask(IPDOMIndexerTask task)
Takes files from another task and adds them to this task in front of all not yet processed
files.
|
IPDOMIndexer |
getIndexer()
Returns the indexer the task belongs to.
|
IndexerProgress |
getProgressInformation()
Returns progress information for the task.
|
void |
run(IProgressMonitor monitor)
Called by the framework to perform the task.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel
public TriggerNotificationTask(PDOMManager manager, WritablePDOM pdom)
public IPDOMIndexer getIndexer()
IPDOMIndexerTask
getIndexer
in interface IPDOMIndexerTask
public IndexerProgress getProgressInformation()
IPDOMIndexerTask
getProgressInformation
in interface IPDOMIndexerTask
public void run(IProgressMonitor monitor)
IPDOMIndexerTask
run
in interface IPDOMIndexerTask
public boolean acceptUrgentTask(IPDOMIndexerTask task)
IPDOMIndexerTask
acceptUrgentTask
in interface IPDOMIndexerTask
task
- the task to add the work from.true
if the work was accepted, false
if it was rejected.