private static class Test.SequentialCommand extends java.lang.Object implements Test.Command
Modifier and Type | Field and Description |
---|---|
private Test.Command[] |
commands
the commands to execute
|
Constructor and Description |
---|
SequentialCommand(Test.Command[] theCommands)
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
execute(Port port)
execute the command
|
private Test.Command[] commands
public SequentialCommand(Test.Command[] theCommands)
theCommands
- the commands to executepublic void execute(Port port) throws java.lang.Exception
execute
in interface Test.Command
port
- the portjava.lang.Exception
- if the execution failed for some reasonCopyright © 2005-2013 Knipp Medien und Kommunikation GmbH