Executor
public class DaemonExecutor extends DefaultExecutor
ProcessDestroyer
before executing
any processes.INVALID_EXITVALUE
Constructor | Description |
---|---|
DaemonExecutor() |
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.Thread |
createThread(java.lang.Runnable runnable,
java.lang.String name) |
Factory method to create a thread waiting for the result of an asynchronous execution.
|
execute, execute, execute, execute, getExecutorThread, getProcessDestroyer, getStreamHandler, getWatchdog, getWorkingDirectory, isFailure, launch, setExitValue, setExitValues, setProcessDestroyer, setStreamHandler, setWatchdog, setWorkingDirectory
public DaemonExecutor()
protected java.lang.Thread createThread(java.lang.Runnable runnable, java.lang.String name)
createThread
in class DefaultExecutor
runnable
- the runnable passed to the threadname
- the name of the thread