|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.knipp.rritoolkit.test.Test.RepeatCommand
private static class Test.RepeatCommand
class that repeats a command a given number of times
Field Summary | |
---|---|
private Test.Command |
command
the command to repeat |
private int |
repeatCount
the number of repetitions |
Constructor Summary | |
---|---|
Test.RepeatCommand(Test.Command theCommand,
int theRepeatCount)
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 |
---|
private Test.Command command
private int repeatCount
Constructor Detail |
---|
public Test.RepeatCommand(Test.Command theCommand, int theRepeatCount)
theCommand
- the commandtheRepeatCount
- the number of repetitionsMethod Detail |
---|
public void execute(Port port) throws java.lang.Exception
execute
in interface Test.Command
port
- the port
java.lang.Exception
- if the execution failed for some reason
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |