|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Command
The command interface provides Command pattern support. It describes an object that responds to requests return simple or complex help instructions, and to invoke with an arbitrary array of parameters. The command objects are dispatched by means of the CommandProcessor singleton. Commands needn't and shouldn't know their particular external invoking key, since that can change.
| Method Summary | |
|---|---|
java.lang.String[] |
getHelpDetailed()
Give the long help information. |
java.lang.String |
getHelpSummary()
Get the single-line help detail |
void |
invoke(java.lang.String[] args)
Process the command |
| Method Detail |
|---|
void invoke(java.lang.String[] args)
args - java.lang.String getHelpSummary()
java.lang.String[] getHelpDetailed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||