|
Openwings API Documentation (v1.0) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.openwings.availability.UnitReport
This class is used to report a fault in a unit (a component or a specific capability provided by a component).
| Field Summary | |
static int |
OFFLINE
This constant is used to indicate that a unit is unavailable. |
static int |
ONLINE
This constant is used to indicate that a unit is available. |
| Constructor Summary | |
UnitReport(java.lang.String name,
java.lang.String description,
int status,
boolean degraded)
This is the single public constructor for this class. |
|
| Method Summary | |
boolean |
getDegraded()
This method is used to get the degraded status. |
java.lang.String |
getDescription()
This method is used to get the desription of the fault. |
java.lang.String |
getName()
This method is used to get the name of the unit under test. |
int |
getStatus()
This method is used to get the status of this unit. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int OFFLINE
public static final int ONLINE
| Constructor Detail |
public UnitReport(java.lang.String name,
java.lang.String description,
int status,
boolean degraded)
name - the name of the unit under test.description - the description of the fault.status - the OFFLINE, ONLINE status
indicator.degraded - boolean indicating if the unit's capability is degraded.| Method Detail |
public int getStatus()
OFFLINE,
ONLINEpublic java.lang.String getName()
public java.lang.String getDescription()
public boolean getDegraded()
true if degraded
|
Openwings API Documentation (v1.0) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||