Package org.apache.camel.component.exec
Class ExecDefaultExecutor
java.lang.Object
org.apache.commons.exec.DefaultExecutor
org.apache.camel.component.exec.ExecDefaultExecutor
- All Implemented Interfaces:
org.apache.commons.exec.Executor
public class ExecDefaultExecutor
extends org.apache.commons.exec.DefaultExecutor
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.exec.DefaultExecutor
org.apache.commons.exec.DefaultExecutor.Builder<T extends org.apache.commons.exec.DefaultExecutor.Builder<T>> -
Field Summary
Fields inherited from interface org.apache.commons.exec.Executor
INVALID_EXITVALUE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.exec.DefaultExecutor
builder, createThread, execute, execute, execute, execute, getExecutorThread, getProcessDestroyer, getStreamHandler, getWatchdog, getWorkingDirectory, isFailure, launch, setExitValue, setExitValues, setProcessDestroyer, setStreamHandler, setWatchdog, setWorkingDirectoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.commons.exec.Executor
getWorkingDirectoryPath
-
Constructor Details
-
ExecDefaultExecutor
public ExecDefaultExecutor()
-
-
Method Details
-
launch
protected Process launch(org.apache.commons.exec.CommandLine command, Map<String, String> env, File dir) throws IOException- Overrides:
launchin classorg.apache.commons.exec.DefaultExecutor- Throws:
IOException
-
getExitValue
public int getExitValue()
-