|
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.ConfigResult
Class representing the result of a configuration operation. This class apart from giving the result of the configuration operation also gives the configuration status of each and every attribute that is configured.
| Field Summary | |
static int |
FAILURE
Constant to represent failure. |
static int |
IN_PROGRESS
Constant to represent configuration operations which are in progress, that is some of the requested operations which takes long time to finish will be done in a separate thread and the result will be notified in a listener when the operation completed. |
static int |
NOT_EXECUTED
Indicates that the command is not executed. |
static int |
PARTIAL_SUCCESS
Constant to represent partial success, that is some of attributes passed to the API are successfully configured while some other have not been configured. |
static int |
SUCCESS
Constant to represent success. |
| Constructor Summary | |
ConfigResult(java.lang.Object obj)
Constructs a new instance of ConfigResult. |
|
| Method Summary | |
java.util.LinkedHashMap |
getAttributeResult()
Returns a HashMap holding the configuration status of each and every attribute that is passed for configuration. |
java.lang.String |
getErrorDescription()
In case of configuration errors this method gives the exact error description. |
CmdResult[] |
getFailedResults()
Fetches the result of all the commands which are part of this operation and have failed in their execution. |
int |
getResult()
Deprecated. Use getStatus() |
int |
getStatus()
Returns the status of the configuration operation. |
java.lang.String |
toString()
String representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int FAILURE
public static final int SUCCESS
public static final int PARTIAL_SUCCESS
public static final int IN_PROGRESS
public static final int NOT_EXECUTED
| Constructor Detail |
public ConfigResult(java.lang.Object obj)
obj - Holds details on the configuration operation.| Method Detail |
public int getStatus()
FAILURE,
SUCCESS,
PARTIAL_SUCCESSpublic int getResult()
FAILURE,
SUCCESS,
PARTIAL_SUCCESSpublic java.lang.String getErrorDescription()
public java.util.LinkedHashMap getAttributeResult()
public CmdResult[] getFailedResults()
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 | |||||||||