org.processmining.analysis.conformance
Class AnalysisMethodExecutionThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.processmining.analysis.conformance.AnalysisMethodExecutionThread
All Implemented Interfaces:
java.lang.Runnable

public class AnalysisMethodExecutionThread
extends java.lang.Thread

Custom thread implementation that executes the given AnalysisMethod and provides those categories with the results that have asked for it.

Author:
arozinat

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AnalysisMethodExecutionThread(AnalysisMethod method, ThreadNotificationTarget target)
          Creates this thread and initializes its attributes.
 
Method Summary
 void run()
          Executes the given analysis method, provides all registered categores with the results, and informs the settings frame that it is done.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnalysisMethodExecutionThread

public AnalysisMethodExecutionThread(AnalysisMethod method,
                                     ThreadNotificationTarget target)
Creates this thread and initializes its attributes.

Parameters:
method - the analysis method to be executed in this thread
settings - the settings frame which has to be notified after the work is done
Method Detail

run

public void run()
Executes the given analysis method, provides all registered categores with the results, and informs the settings frame that it is done.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread
See Also:
threadDone, hasRegisteredFor