de.knipp.rritoolkit.test
Class Test.SequentialCommand

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

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

class that executes the given commands sequentially

Version:
$Revision: 15112 $
Author:
Klaus Malorny

Field Summary
private  Test.Command[] commands
          the commands to execute
 
Constructor Summary
Test.SequentialCommand(Test.Command[] theCommands)
          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

commands

private Test.Command[] commands
the commands to execute

Constructor Detail

Test.SequentialCommand

public Test.SequentialCommand(Test.Command[] theCommands)
constructor

Parameters:
theCommands - the commands 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