public interface Status
Status instance should not change its results over
time; instead a StatusSource should return different instances as the
status changes.| Modifier and Type | Interface and Description |
|---|---|
static class |
Status.Code
Available statuses for displaying state indicators on the dashboard.
|
| Modifier and Type | Method and Description |
|---|---|
Status.Code |
getCode()
The code to represent the state of the status.
|
String |
getMessage(Locale locale)
A message appropriate for displaying to an end-user concerning the state of
the status.
|
Status.Code getCode()
null.null.String getMessage(Locale locale)
getCode() returns Status.Code.NORMAL, then a message is typically discouraged, unless it provides
statistics or additional information not obvious when provided StatusSource.getName(java.util.Locale) and getCode().locale - non-null locale for localization.null if one is not
necessary.