org.springframework.shell.commands
Class OsOperationsImpl

java.lang.Object
  extended by org.springframework.shell.commands.OsOperationsImpl
All Implemented Interfaces:
OsOperations

@Component
public class OsOperationsImpl
extends Object
implements OsOperations

Implementation of OsOperations interface.

Since:
1.2.0

Constructor Summary
OsOperationsImpl()
           
 
Method Summary
 void executeCommand(String command)
          Attempts the execution of a commands and delegates the output to the standard logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OsOperationsImpl

public OsOperationsImpl()
Method Detail

executeCommand

public void executeCommand(String command)
                    throws IOException
Description copied from interface: OsOperations
Attempts the execution of a commands and delegates the output to the standard logger.

Specified by:
executeCommand in interface OsOperations
Parameters:
command - the command to execute
Throws:
IOException - if an error occurs