public class ContainersProcessingTask extends AnalyzableElementsProcessingTask<GenericClassContainer,GenericClassContainer>
Constructor and Description |
---|
ContainersProcessingTask(java.lang.String type,
GenericClassContainer aContainer,
IMutableClassContainerProcessor processor,
IProgressMonitor monitor,
IElementsProcessingResultHandler resultHandler) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doProcessing(java.util.Collection<GenericClassContainer> result)
Does the processing over the workset's elements.
|
protected GenericClassContainer |
getContainer() |
protected IMutableClassContainerProcessor |
getContainerProcessor() |
protected IMutableAnalyzableElementProcessor<GenericClassContainer> |
getElementProcessor()
Returns the processor that processes and matches the elements given to it.
|
protected GenericClassContainer |
getStartElement()
Returns the element on which the processing gets executed.
|
protected void |
setContainer(GenericClassContainer newValue) |
protected void |
setContainerProcessor(IMutableClassContainerProcessor newValue) |
createInitialExcludeCollection, createResult, getProcessingType, getProgressMonitor, getResultHandler, getWorkset, hasProgressMonitor, isRecursiveProcessing, newResultCollection, recursiveProcessing, run, setIsRecursiveProcessing, setProcessingType, setProgressMonitor, setResultHandler
public ContainersProcessingTask(java.lang.String type, GenericClassContainer aContainer, IMutableClassContainerProcessor processor, IProgressMonitor monitor, IElementsProcessingResultHandler resultHandler)
type
- A unique identifier for the processing task. It will be passed to the resultHandler to identify the process.aContainer
- The container from which to start processing.processor
- The actual processor doing the matching and collecting.monitor
- An optional monitor that can show the progress (may be null).resultHandler
- The object that will be called to receive the result when the thread is finished.protected GenericClassContainer getContainer()
protected void setContainer(GenericClassContainer newValue)
protected IMutableClassContainerProcessor getContainerProcessor()
protected void setContainerProcessor(IMutableClassContainerProcessor newValue)
protected boolean doProcessing(java.util.Collection<GenericClassContainer> result)
doProcessing
in class AnalyzableElementsProcessingTask<GenericClassContainer,GenericClassContainer>
protected GenericClassContainer getStartElement()
getStartElement
in class AnalyzableElementsProcessingTask<GenericClassContainer,GenericClassContainer>
protected IMutableAnalyzableElementProcessor<GenericClassContainer> getElementProcessor()
AnalyzableElementsProcessingTask
getElementProcessor
in class AnalyzableElementsProcessingTask<GenericClassContainer,GenericClassContainer>