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
-
-
Constructor Summary
Constructors Constructor Description ExecDefaultExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getExitValue()
protected Process
launch(org.apache.commons.exec.CommandLine command, Map<String,String> env, File dir)
-
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
-
-
-
-
Method Detail
-
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()
-
-