Package org.apache.camel.component.exec
Interface ExecCommandExecutor
-
- All Known Implementing Classes:
DefaultExecCommandExecutor
public interface ExecCommandExecutor
ExecutesExecCommand
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecResult
execute(ExecCommand execCommand)
-
-
-
Method Detail
-
execute
ExecResult execute(ExecCommand execCommand) throws ExecException, IOException
- 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
-
-