|
WebNMS CLI 2.0 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This is the interface that needs to be implemented when the user wants to execute a particular configuration. A configuration is nothing but a set of tasks to be executed. The user can specify the configuration in the ConfigDriver.Xml file. The methods in the ConfigAPI can be used to perform operations with a particular configuration.
| Method Summary | |
void |
close()
This method can be used for closing the session established by the user. |
java.lang.String |
executeCommand(CLIMessage requestMess)
This method executes the command given to it. |
void |
executeScript(java.lang.String scriptFileName,
java.lang.String[] args,
java.lang.String scriptType)
This method executes the file containing the script. |
void |
login(CLIProtocolOptions cliProtocolOptions)
This is the method used for initially logging into a remoteHost with the CLIProtocolOptions. |
void |
setLoginLevel(LoginLevel loginLevel)
Sets the loginLevel to be used for logging into a remote device. |
| Method Detail |
public java.lang.String executeCommand(CLIMessage requestMess)
throws ExecutionException
requestMess - the command to be executed as CLIMessage.String value.
public void executeScript(java.lang.String scriptFileName,
java.lang.String[] args,
java.lang.String scriptType)
throws ExecutionException
scriptFileName - a String valueScriptType - a String valueScriptHandler
public void setLoginLevel(LoginLevel loginLevel)
throws ExecutionException
loginLevel - the LoginLevel for logging into the
device or to change the login level of the device.
public void login(CLIProtocolOptions cliProtocolOptions)
throws ExecutionException
cliProtocolOptions - the protocol specific options which has to be
given by the user depending upon the protocol being used to
communicate with the CLI device.
public void close()
throws ExecutionException
|
WebNMS CLI 2.0 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||