Package org.apache.camel.component.exec
Interface ExecCommandExecutor
- All Known Implementing Classes:
DefaultExecCommandExecutor
public interface ExecCommandExecutor
Executes
ExecCommand
instances.-
Method Summary
-
Method Details
-
execute
- Parameters:
execCommand
- The command object, that describes the executable application- Returns:
- the result
- Throws:
ExecException
- if the execution failedIOException
- if there is an invalid path in the working directory, or if the absolute path of the command executable is invalid, or if the executable does not exist
-