org.starhope.appius.user.events
Class QuaestorRunner

java.lang.Object
  extended by java.lang.Thread
      extended by org.starhope.appius.user.events.QuaestorRunner
All Implemented Interfaces:
Comparable<Thread>, Runnable

public class QuaestorRunner
extends Thread
implements Comparable<Thread>

WRITEME: Document this type.

Author:
brpocock@star-hope.org

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
private  Action a
          action to be dispatched
private  Queue<ActionHandlerInterface> f
          WRITEME: Document this brpocock@star-hope.org
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
QuaestorRunner(Action action)
          WRITEME: Document this constructor brpocock@star-hope.org
 
Method Summary
 void add(ActionHandlerInterface handler)
           
 int compareTo(Thread o)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 void run()
           
 int size()
           
 
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

f

private final Queue<ActionHandlerInterface> f
WRITEME: Document this brpocock@star-hope.org


a

private final Action a
action to be dispatched

Constructor Detail

QuaestorRunner

public QuaestorRunner(Action action)
WRITEME: Document this constructor brpocock@star-hope.org

Parameters:
action - WRITEME
Method Detail

add

public void add(ActionHandlerInterface handler)
Parameters:
handler - a new handler for this action to run against

compareTo

public int compareTo(Thread o)
Specified by:
compareTo in interface Comparable<Thread>
See Also:
Comparable.compareTo(java.lang.Object)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
Thread.run()

size

public int size()
Returns:
number of methods awaiting execution