org.springframework.shell.commands
Interface OsOperations
- All Known Implementing Classes:
- OsOperationsImpl
public interface OsOperations
Operations type to allow execution of native OS commands from the Spring Roo
shell.
- Since:
- 1.2.0
Method Summary |
void |
executeCommand(String command)
Attempts the execution of a commands and delegates the output to the
standard logger. |
executeCommand
void executeCommand(String command)
throws IOException
- Attempts the execution of a commands and delegates the output to the
standard logger.
- Parameters:
command
- the command to execute
- Throws:
IOException
- if an error occurs