public class AllClassesProcessingTask extends AnalyzableElementsProcessingTask<Workset,ClassInformation>
Constructor and Description |
---|
AllClassesProcessingTask(java.lang.String type,
Workset aWorkset,
IClassInformationProcessor<?> processor,
IProgressMonitor monitor,
IElementsProcessingResultHandler resultHandler)
Initialize the new instance with default values.
|
Modifier and Type | Method and Description |
---|---|
protected ProcessingResult<ClassInformation> |
createResult(java.util.Collection<ClassInformation> collectedElements)
Returns a new result object based on the given result collection.
|
protected boolean |
doProcessing(java.util.Collection<ClassInformation> result)
Does the processing over the workset's elements.
|
protected IClassInformationProcessor<?> |
getClassProcessor() |
protected IMutableAnalyzableElementProcessor<ClassInformation> |
getElementProcessor()
Returns always null because the underlying processor does not fit to the
required return type.
|
protected Workset |
getStartElement()
Returns the element on which the processing gets executed.
|
protected Workset |
getWorkset()
Returns the workset or the analyzed element.
|
boolean |
isRecursiveProcessing()
This class does not support recursive processing.
|
protected void |
setClassProcessor(IClassInformationProcessor<?> newValue) |
protected void |
setWorkset(Workset newValue) |
createInitialExcludeCollection, getProcessingType, getProgressMonitor, getResultHandler, hasProgressMonitor, newResultCollection, recursiveProcessing, run, setIsRecursiveProcessing, setProcessingType, setProgressMonitor, setResultHandler
public AllClassesProcessingTask(java.lang.String type, Workset aWorkset, IClassInformationProcessor<?> processor, IProgressMonitor monitor, IElementsProcessingResultHandler resultHandler)
public boolean isRecursiveProcessing()
isRecursiveProcessing
in class AnalyzableElementsProcessingTask<Workset,ClassInformation>
protected boolean doProcessing(java.util.Collection<ClassInformation> result)
doProcessing
in class AnalyzableElementsProcessingTask<Workset,ClassInformation>
protected Workset getStartElement()
getStartElement
in class AnalyzableElementsProcessingTask<Workset,ClassInformation>
protected IMutableAnalyzableElementProcessor<ClassInformation> getElementProcessor()
getElementProcessor
in class AnalyzableElementsProcessingTask<Workset,ClassInformation>
protected ProcessingResult<ClassInformation> createResult(java.util.Collection<ClassInformation> collectedElements)
createResult
in class AnalyzableElementsProcessingTask<Workset,ClassInformation>
protected Workset getWorkset()
AnalyzableElementsProcessingTask
getWorkset
in class AnalyzableElementsProcessingTask<Workset,ClassInformation>
protected void setWorkset(Workset newValue)
protected IClassInformationProcessor<?> getClassProcessor()
protected void setClassProcessor(IClassInformationProcessor<?> newValue)