de.knipp.rritoolkit.test
Class Test.SingleCommand

java.lang.Object
  extended by de.knipp.rritoolkit.test.Test.SingleCommand
All Implemented Interfaces:
Test.Command
Enclosing class:
Test

private static class Test.SingleCommand
extends java.lang.Object
implements Test.Command

class that executes a single command

Version:
$Revision: 15112 $
Author:
Klaus Malorny

Field Summary
private  java.lang.String[] command
          the command
 
Constructor Summary
Test.SingleCommand(java.lang.String[] theCommand)
          constructor
 
Method Summary
 void execute(Port port)
          execute the command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

command

private java.lang.String[] command
the command

Constructor Detail

Test.SingleCommand

public Test.SingleCommand(java.lang.String[] theCommand)
constructor

Parameters:
theCommand - the command to execute
Method Detail

execute

public void execute(Port port)
             throws java.lang.Exception
execute the command

Specified by:
execute in interface Test.Command
Parameters:
port - the port
Throws:
java.lang.Exception - if the execution failed for some reason


Copyright © 2005-2011 Knipp Medien und Kommunikation GmbH