Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
CommandThread(File workingDir,
String... args) |
CommandThread(Logger logger,
String uniqueName,
String logFile,
File workingDir,
String... args) |
CommandThread(String... args) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
LogAppender |
getAppender() |
int |
getExitCode() |
Logger |
getLogger() |
String |
getUniqueName() |
void |
run() |
int |
waitSync() |
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, yieldpublic CommandThread(String... args)
public Logger getLogger()
public LogAppender getAppender()
public String getUniqueName()
public int getExitCode()
public int waitSync()
public void close()
Copyright © 2019. All rights reserved.