public enum NewFailure extends java.lang.Enum<NewFailure> implements Flag
| Enum Constant and Description |
|---|
FLAG |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
A description of the flag type
|
java.lang.String |
getSymbol()
The Font-Awesome symbol used to represent this flag
|
java.lang.String |
getType()
A unique identifier for this type of flag
|
static NewFailure |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NewFailure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NewFailure FLAG
public static NewFailure[] values()
for (NewFailure c : NewFailure.values()) System.out.println(c);
public static NewFailure 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 getType()
Flagpublic java.lang.String getMessage()
FlaggetMessage in interface Flag