public static enum NodeBadge.Status extends Enum<NodeBadge.Status>
Modifier and Type | Method and Description |
---|---|
String |
code() |
String |
toString() |
static NodeBadge.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeBadge.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeBadge.Status INFO
public static final NodeBadge.Status WARN
public static final NodeBadge.Status ERROR
public static NodeBadge.Status[] values()
for (NodeBadge.Status c : NodeBadge.Status.values()) System.out.println(c);
public static NodeBadge.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<NodeBadge.Status>
public String code()