|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.datapower.wamt.OperationStatus.Enumerated
public static class OperationStatus.Enumerated
This holds the enumerated values that are allowed to be used with
OperationStatus
.
Field Summary | |
---|---|
static OperationStatus.Enumerated |
DOWN
The item is down (i.e., "red") |
static OperationStatus.Enumerated |
PARTIAL
The item is partially up but not completely up (i.e., "yellow") |
static OperationStatus.Enumerated |
UNKNOWN
The state of the item is not known (i.e., "grey"). |
static OperationStatus.Enumerated |
UP
The item is up and running fine (i.e., "green") |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object that)
Check if this is equivalent to that . |
java.lang.String |
getDisplayName()
Get a human-readable name that represents this object. |
java.lang.String |
getDisplayName(java.util.Locale locale)
Get a human-readable name that represents this object. |
java.lang.String |
getDisplayNameKey()
Get a key that represents the description of object. |
int |
hashCode()
|
boolean |
isMoreSeriousThan(OperationStatus.Enumerated that)
Check if this is considered more serious (worse) than
that . |
java.lang.String |
toString()
Get a String representation of this object for the purpose of debugging or tracing or for a user interface. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final OperationStatus.Enumerated UP
public static final OperationStatus.Enumerated PARTIAL
public static final OperationStatus.Enumerated UNKNOWN
public static final OperationStatus.Enumerated DOWN
Method Detail |
---|
public boolean equals(java.lang.Object that)
this
is equivalent to that
.
equals
in class java.lang.Object
that
- the other enumerated value to use in the comparison.
public int hashCode()
hashCode
in class java.lang.Object
public boolean isMoreSeriousThan(OperationStatus.Enumerated that)
this
is considered more serious (worse) than
that
. The following heirarchy of enumerations is used
to rank severity (each of the following expressions evaluate to
true
):
PARTIAL.isMoreSeriousThan(UP)
UNKNOWN.isMoreSeriousThan(PARTIAL)
DOWN.isMoreSeriousThan(UNKNOWN)
UP -> PARTIAL -> UNKNOWN -> DOWN
that
- the other value to be used in the comparison
this
is more serious than
that
, false otherwise.public java.lang.String getDisplayNameKey()
public java.lang.String getDisplayName()
public java.lang.String getDisplayName(java.util.Locale locale)
locale
- The locale to be used in getting the human-readable name
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |