Package cbsw
Class Command
- java.lang.Object
-
- cbsw.AbstractCommand
-
- cbsw.Command
-
public class Command extends AbstractCommand
This class encapsulates a static method invoked through Java reflection.
-
-
Field Summary
-
Fields inherited from class cbsw.AbstractCommand
button, data, dataMap, label, statusTF, stopOnFail, targetClass, targetMethod
-
-
Constructor Summary
Constructors Constructor Description Command()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
go()
Parses, calls and handles reponses for a command.-
Methods inherited from class cbsw.AbstractCommand
clearStatus, exec, exec, setButton, setStatusTextField, shell, shell2
-
-
-
-
Method Detail
-
go
public void go() throws java.lang.Exception
Parses, calls and handles reponses for a command.
Use Java reflection to call the static exec method of the target class. Allows multiple groups of target method args that are applied repeatedly to the same method.
- Specified by:
go
in classAbstractCommand
- Throws:
java.lang.Exception
- The exception
-
-