|
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.config.LoginLevel
This class represents the mode in which the command or script task is to be executed. The commands available to the user vary with the login level or the mode in which the user has logged in.
| Method Summary | |
java.lang.String |
getCommandPrompt()
Gets the Prompt. |
java.lang.String |
getLevelExitCmd()
Gets the command for exiting the current mode and returning to the parent mode, if any. |
java.lang.String |
getLoginCommand()
Gets the command to be sent for entering the loginLevel. |
java.lang.String |
getLoginLevel()
Gets the name of the loginLevel of the device. |
java.lang.String |
getLoginName()
Gets the login name (or username) to logon to a level. |
java.lang.String |
getLoginPassword()
Gets the password to be given for the login level. |
java.lang.String |
getLoginPrompt()
Gets the login prompt. |
java.lang.String |
getParentLevel()
Gets the parent of the current level or mode. |
java.lang.String |
getPasswordPrompt()
Gets the password prompt for the level. |
java.lang.String[] |
getSubLevels()
Gets the sublevels of the current level or mode. |
boolean |
isPasswordRequired()
Returns true if password prompt exist for the mode. |
boolean |
isUserNameRequired()
Returns true is login name is required for the mode or login prompt exists for the mode. |
void |
setCommandPrompt(java.lang.String cmdPrompt)
Sets the Prompt. |
void |
setLevelExitCmd(java.lang.String cmd)
Sets the command for exiting the current mode. |
void |
setLoginCommand(java.lang.String logCommand)
Sets the command for the user to logon into the level or mode. |
void |
setLoginLevel(java.lang.String logLevel)
Sets the loginLevel of the device. |
void |
setLoginName(java.lang.String logName)
Sets the login name (or username) for the level. |
void |
setLoginPassword(java.lang.String logPassword)
Sets the password to be given for the login level. |
void |
setLoginPrompt(java.lang.String logPrompt)
Sets the login prompt. |
void |
setParentLevel(java.lang.String parentlevel)
Sets the parent of the current level. |
void |
setPasswordPrompt(java.lang.String passwdPrompt)
Sets the password prompt. |
void |
setSubLevels(java.lang.String[] sublevels)
Sets the sublevels of the current level or mode. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public java.lang.String getLoginLevel()
public void setLoginLevel(java.lang.String logLevel)
logLevel - the login level the device is in.public java.lang.String getLoginCommand()
public void setLoginCommand(java.lang.String logCommand)
logCommand - the command for logging into the level.public java.lang.String getLoginName()
public void setLoginName(java.lang.String logName)
logName - the login name for the level.public java.lang.String getLoginPassword()
public void setLoginPassword(java.lang.String logPassword)
logPassword - the password for the level.public java.lang.String getPasswordPrompt()
public void setPasswordPrompt(java.lang.String passwdPrompt)
passwdPrompt - the password promptpublic java.lang.String getLoginPrompt()
public void setLoginPrompt(java.lang.String logPrompt)
logPrompt - login prompt as a String valuepublic java.lang.String getCommandPrompt()
public void setCommandPrompt(java.lang.String cmdPrompt)
cmdPrompt - the command prompt.public java.lang.String[] getSubLevels()
String[] array having the names of the sublevels.public void setSubLevels(java.lang.String[] sublevels)
sublevels - a String[] array having the names of
the sublevels.public java.lang.String getParentLevel()
public void setParentLevel(java.lang.String parentlevel)
parentlevel - the name of the parent of the current level.public java.lang.String getLevelExitCmd()
public void setLevelExitCmd(java.lang.String cmd)
cmd - the command to exit the current mode.public boolean isPasswordRequired()
public boolean isUserNameRequired()
|
AdventNet CLI 2.0 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||