public abstract class MonitoredDependencyAnalyzer
extends java.lang.Object
Constructor and Description |
---|
MonitoredDependencyAnalyzer(org.pfsw.tools.cda.base.model.IAnalyzableElement elementToAnalyze)
Initialize the new instance with an element to analyze.
|
MonitoredDependencyAnalyzer(org.pfsw.tools.cda.base.model.IAnalyzableElement elementToAnalyze,
IProgressMonitor monitor)
Initialize the new instance with an element to analyze and a progress monitor.
|
Modifier and Type | Method and Description |
---|---|
abstract <T extends MonitoredDependencyAnalyzer> |
analyze()
Starts analyzing and returns the analyzer itself.
|
org.pfsw.tools.cda.base.model.IAnalyzableElement |
getAnalyzedElement() |
abstract int |
getNumberOfElementsToAnalyze()
Returns the number of elements this analyzer is processing
|
IProgressMonitor |
getProgressMonitor() |
org.pfsw.tools.cda.base.model.Workset |
getWorkset()
Returns the workset of the element that gets analyzed
|
boolean |
isCancelled() |
protected void |
resetProcessingCounter() |
protected void |
setAnalyzedElement(org.pfsw.tools.cda.base.model.IAnalyzableElement newValue) |
protected void |
setIsCancelled(boolean newValue) |
void |
setProgressMonitor(IProgressMonitor newValue) |
protected boolean |
showProgress(java.lang.String elementName)
This method will be called for each element the analyzer currently
works on.
|
public MonitoredDependencyAnalyzer(org.pfsw.tools.cda.base.model.IAnalyzableElement elementToAnalyze)
public MonitoredDependencyAnalyzer(org.pfsw.tools.cda.base.model.IAnalyzableElement elementToAnalyze, IProgressMonitor monitor)
public abstract <T extends MonitoredDependencyAnalyzer> T analyze()
public abstract int getNumberOfElementsToAnalyze()
public org.pfsw.tools.cda.base.model.IAnalyzableElement getAnalyzedElement()
public IProgressMonitor getProgressMonitor()
public void setProgressMonitor(IProgressMonitor newValue)
public boolean isCancelled()
public org.pfsw.tools.cda.base.model.Workset getWorkset()
protected boolean showProgress(java.lang.String elementName)
protected void setAnalyzedElement(org.pfsw.tools.cda.base.model.IAnalyzableElement newValue)
protected void setIsCancelled(boolean newValue)
protected void resetProcessingCounter()