public class DefaultExecCommandExecutor extends Object implements ExecCommandExecutor
| Constructor and Description |
|---|
DefaultExecCommandExecutor() |
| Modifier and Type | Method and Description |
|---|---|
ExecResult |
execute(ExecCommand command)
|
protected org.apache.commons.exec.DefaultExecutor |
prepareDefaultExecutor(ExecCommand execCommand) |
protected org.apache.commons.exec.CommandLine |
toCommandLine(ExecCommand execCommand)
Transforms an
ExecCommand to a CommandLine. |
public ExecResult execute(ExecCommand command)
ExecCommandExecutorexecute in interface ExecCommandExecutorcommand - The command object, that describes the executable applicationprotected org.apache.commons.exec.DefaultExecutor prepareDefaultExecutor(ExecCommand execCommand)
protected org.apache.commons.exec.CommandLine toCommandLine(ExecCommand execCommand)
ExecCommand to a CommandLine. No quoting fo
the arguments is used.execCommand - a not-null ExecCommand instance.CommandLine object.Apache Camel