public abstract class MonitoredDependencyAnalyzer
extends java.lang.Object
Constructor and Description |
---|
MonitoredDependencyAnalyzer(IAnalyzableElement elementToAnalyze)
Initialize the new instance with an element to analyze.
|
MonitoredDependencyAnalyzer(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.
|
IAnalyzableElement |
getAnalyzedElement() |
abstract int |
getNumberOfElementsToAnalyze()
Returns the number of elements this analyzer is processing
|
IProgressMonitor |
getProgressMonitor() |
Workset |
getWorkset()
Returns the workset of the element that gets analyzed
|
boolean |
isCancelled() |
protected void |
resetProcessingCounter() |
protected void |
setAnalyzedElement(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(IAnalyzableElement elementToAnalyze)
public MonitoredDependencyAnalyzer(IAnalyzableElement elementToAnalyze, IProgressMonitor monitor)
public abstract <T extends MonitoredDependencyAnalyzer> T analyze()
public abstract int getNumberOfElementsToAnalyze()
public IAnalyzableElement getAnalyzedElement()
public IProgressMonitor getProgressMonitor()
public void setProgressMonitor(IProgressMonitor newValue)
public boolean isCancelled()
public Workset getWorkset()
protected boolean showProgress(java.lang.String elementName)
protected void setAnalyzedElement(IAnalyzableElement newValue)
protected void setIsCancelled(boolean newValue)
protected void resetProcessingCounter()