|
AdventNet WiFi Mediation API, v1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.adventnet.wifi.mediation.CmdResult
Class which has details about each command executed as part of the configuration operation. Each and every configuration operation in turn will be translated into many device specific commands by the mediation server and is executed on the device. A separate instance of this class is created for each command that is executed and this instance will hold all the details of that executed command like the command string, the status of execution, the output of the command etc.
| Constructor Summary | |
CmdResult(java.lang.Object obj)
Creates a new instance of CmdResult. |
|
| Method Summary | |
java.lang.String |
getCommand()
Fetches the command represented by this class. |
java.lang.String |
getCommandOutput()
Fetches the output of the command. |
int |
getCounter()
Fetches the number of times this particular command is executed. |
java.lang.String |
getId()
Fetches the ID of this command. |
int |
getRootCauseID()
Fetches the root cause explaining the problem during execution. |
int |
getStatus()
Returns the status of the command. |
boolean |
isConfigured()
Says whether the Command is successfully configured or not. |
java.lang.String |
toString()
Returns 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 CmdResult(java.lang.Object obj)
obj - Holds details on the executed commands.| Method Detail |
public java.lang.String getCommand()
public java.lang.String getId()
public java.lang.String getCommandOutput()
public int getStatus()
ConfigResult.SUCCESS,
ConfigResult.FAILURE,
ConfigResult.NOT_EXECUTEDpublic boolean isConfigured()
public int getCounter()
public int getRootCauseID()
public java.lang.String toString()
|
AdventNet WiFi Mediation API, v1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||