|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.monitor.Status
public class Status
Describes a generic status condition.
| Field Summary | |
|---|---|
static Status |
ERROR
Generic ERROR status. |
static Status |
INFO
Generic INFO status. |
static Status |
OK
Generic OK status. |
static Status |
UNKNOWN
Generic UNKNOWN status. |
static Status |
WARN
Generic WARN status. |
| Constructor Summary | |
|---|---|
Status(StatusCode code)
Creates a new status object with the given code. |
|
Status(StatusCode code,
String desc)
Creates a new status object with the given code. |
|
| Method Summary | |
|---|---|
StatusCode |
getCode()
Gets the status code. |
String |
getDescription()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Status UNKNOWN
public static final Status OK
public static final Status INFO
public static final Status WARN
public static final Status ERROR
| Constructor Detail |
|---|
public Status(StatusCode code)
code - Status code.getCode()
public Status(StatusCode code,
String desc)
code - Status code.desc - Human-readable status description.getCode()| Method Detail |
|---|
public StatusCode getCode()
public String getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||