public class JenkinsAPI.LogThread extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description | 
|---|
| LogThread(String log)Constructor of LogThread. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | run()If this thread was constructed using a separate Runnable run object, then that Runnable object's
 run method is called; otherwise, this method does nothing and returns. | 
| void | setInterval(int interval)Sets the interval. | 
| void | stopLog()Stops logging message. | 
activeCount, checkAccess, currentThread, dumpStack, enumerate, getAllStackTraces, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, toString, yieldpublic LogThread(String log)
log - The message that will be displayed.public void run()
Threadrun in interface Runnablerun in class ThreadThread.run()public void setInterval(int interval)
interval - The interval in seconds.public void stopLog()