|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IStatusReport
An IStatusReport represents the results of querying a module regarding its status. It contains information regarding the modules status, represented by the three static constants OKAY, WARNING, and ERROR. It also contains an associated message and an identifier that can be used to trace this report back to the module. Because IStatusReports are intended to be sent over remote channels, they must all be Serializable.
| Field Summary | |
|---|---|
static int |
ERROR
Indicates that something is wrong with the module and it is not functioning. |
static int |
OKAY
Indicates that everything is working properly in the intended module. |
static int |
WARNING
Indicates that something is potentially wrong in the module, but this is not a fatal problem. |
| Method Summary | |
|---|---|
java.lang.Exception |
getMessage()
Message is an Exception containing a message or a stack trace relevant to the current status. |
java.lang.String |
getModuleName()
The module name is a human readable String used to identify this module. |
int |
getStatus()
Status can be one of the three static constants OKAY, WARNING or ERROR. |
| Field Detail |
|---|
static final int OKAY
static final int WARNING
static final int ERROR
| Method Detail |
|---|
java.lang.String getModuleName()
java.lang.Exception getMessage()
int getStatus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||