public class DependencyAnalyzerThread
extends java.lang.Thread
Constructor and Description |
---|
DependencyAnalyzerThread(MonitoredDependencyAnalyzer dependencyAnalyzer,
IAnalysisResultHandler handler)
Initialize the new instance with the analyzer and a handler
that gets informed at the end of the analysis.
|
Modifier and Type | Method and Description |
---|---|
void |
addResultHandler(IAnalysisResultHandler resultHandler)
Add the given result handler in order to let it be notified when analysis
is finished.
|
protected MonitoredDependencyAnalyzer |
getAnalyzer() |
protected IProgressMonitor |
getProgressMonitor() |
protected void |
notifyResultHandlers() |
void |
run() |
protected void |
setAnalyzer(MonitoredDependencyAnalyzer newValue) |
protected void |
setProgressMonitor(IProgressMonitor newValue) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public DependencyAnalyzerThread(MonitoredDependencyAnalyzer dependencyAnalyzer, IAnalysisResultHandler handler)
protected MonitoredDependencyAnalyzer getAnalyzer()
protected void setAnalyzer(MonitoredDependencyAnalyzer newValue)
protected IProgressMonitor getProgressMonitor()
protected void setProgressMonitor(IProgressMonitor newValue)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void addResultHandler(IAnalysisResultHandler resultHandler)
protected void notifyResultHandlers()