|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectThread
ProgressDisplay
public class ProgressDisplay extends Thread
Modified from Daikon.FileIOProgress.
| Modifier and Type | Class and Description |
|---|---|
static class |
ProgressDisplay.Mode
|
| Nested classes/interfaces inherited from class Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Modifier and Type | Field and Description |
|---|---|
long |
lastCovIncrease
|
static Object |
print_synchro
Lock so that unfortunate interleaving of this printing can be avoided |
boolean |
shouldStop
Clients should set this variable instead of calling Thread.stop(), which is deprecated. |
| Fields inherited from class Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor and Description |
|---|
ProgressDisplay(AbstractGenerator generator,
RandoopListenerManager listenerMgr,
ProgressDisplay.Mode outputMode,
int progressWidth)
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the display; good to do before printing to System.out. |
void |
display()
Displays the current status. |
void |
display(String message)
Displays the given message. |
String |
message()
|
void |
run()
|
| Methods inherited from class 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 Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static Object print_synchro
public boolean shouldStop
public long lastCovIncrease
| Constructor Detail |
|---|
public ProgressDisplay(AbstractGenerator generator,
RandoopListenerManager listenerMgr,
ProgressDisplay.Mode outputMode,
int progressWidth)
| Method Detail |
|---|
public String message()
public void run()
run in interface Runnablerun in class Threadpublic void clear()
public void display()
public void display(String message)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||