public enum BadgeLevel extends java.lang.Enum<BadgeLevel>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsIgnoreCase(java.lang.String str) |
static Alert.Level |
getFromKey(java.lang.String str) |
static Alert.Level |
getFromValue(int value) |
java.lang.String |
getKey() |
int |
getValue() |
boolean |
isGreaterThan(BadgeLevel level) |
static BadgeLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BadgeLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BadgeLevel INFO
public static final BadgeLevel WARNING
public static final BadgeLevel DANGER
public static final java.lang.String REVISION
public static BadgeLevel[] values()
for (BadgeLevel c : BadgeLevel.values()) System.out.println(c);
public static BadgeLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getKey()
public int getValue()
public boolean equalsIgnoreCase(java.lang.String str)
public static Alert.Level getFromKey(java.lang.String str)
public static Alert.Level getFromValue(int value)
public boolean isGreaterThan(BadgeLevel level)
Copyright © 2001-2017 Jalios SA. All Rights Reserved.