Class Command
java.lang.Object
cbsw.AbstractCommand
cbsw.Command
This class encapsulates a static method invoked through Java reflection.
-
Field Summary
Fields inherited from class AbstractCommand
button, data, dataMap, label, statusTF, stopOnFail, targetClass, targetMethod -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractCommand
clearStatus, exec, exec, setButton, setStatusTextField, shell, shell2
-
Constructor Details
-
Command
public Command()
-
-
Method Details
-
go
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:
goin classAbstractCommand- Throws:
Exception- The exception
-