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
-
Field Summary
Fields inherited from interface org.apache.commons.exec.Executor
INVALID_EXITVALUE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.commons.exec.DefaultExecutor
createThread, execute, execute, execute, execute, getExecutorThread, getProcessDestroyer, getStreamHandler, getWatchdog, getWorkingDirectory, isFailure, setExitValue, setExitValues, setProcessDestroyer, setStreamHandler, setWatchdog, setWorkingDirectory
-
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:
launch
in classorg.apache.commons.exec.DefaultExecutor
- Throws:
IOException
-
getExitValue
public int getExitValue()
-