|
AdventNet CLI 2.0 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.cli.messageset.CLICommandTemplate
This class contains the Command Template read from a template definitions file. The object contains a list of cmdObjects, parameters and options. The API user need not instantiate this class since it is done during parsing of the template definitions file.
| Constructor Summary | |
CLICommandTemplate()
Default constructor to create an instance of CLICommandTemplate. |
|
| Method Summary | |
com.adventnet.cli.messageset.CmdHelp |
getCmdHelp()
Gets the help of this Command Template. |
CmdObject[] |
getCmdObjectList()
Gets the command object list. |
com.adventnet.cli.messageset.CmdOptions |
getCmdOptionsList()
Gets the CmdOptions object for the Command Template. |
CmdParams[] |
getCmdParamsList()
Gets the command param list for the Command Template. |
java.lang.String |
getCommandDelimiter()
Gets the command Delimiter for the Command Template. |
java.lang.String |
getCommandName()
Gets the command name for the template. |
void |
setCmdHelp(com.adventnet.cli.messageset.CmdHelp help)
Sets the help for this Command Template. |
void |
setCmdObjectList(CmdObject[] objectList)
Sets the command object list for the Command Template. |
void |
setCmdOptionsList(com.adventnet.cli.messageset.CmdOptions cmdOpt)
Sets the command option for the Command Template. |
void |
setCmdParamsList(CmdParams[] cmdParamList)
Sets the command param list for the Command Template. |
void |
setCommandDelimiter(java.lang.String cmdDelimiter)
Sets the delimiter for the Command Template. |
void |
setCommandName(java.lang.String name)
Sets the name for the Command Template. |
java.lang.String |
toString()
Method to get the String representation of this object. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public CLICommandTemplate()
CLICommandTemplate.| Method Detail |
public void setCmdObjectList(CmdObject[] objectList)
objectList - The array of CmdObject objects.public CmdObject[] getCmdObjectList()
public void setCmdParamsList(CmdParams[] cmdParamList)
cmdParamList - The array of CmdParams objects.public CmdParams[] getCmdParamsList()
public void setCmdOptionsList(com.adventnet.cli.messageset.CmdOptions cmdOpt)
The - CmdOptions object.public com.adventnet.cli.messageset.CmdOptions getCmdOptionsList()
public void setCommandName(java.lang.String name)
name - to be set for the Command Template.public java.lang.String getCommandName()
public void setCommandDelimiter(java.lang.String cmdDelimiter)
the - command delimiter to be set as a String.public java.lang.String getCommandDelimiter()
public com.adventnet.cli.messageset.CmdHelp getCmdHelp()
public void setCmdHelp(com.adventnet.cli.messageset.CmdHelp help)
the - CmdHelp object to be set for the CLICommandTemplate.public java.lang.String toString()
|
AdventNet CLI 2.0 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||