public enum NewFailure extends Enum<NewFailure> implements Flag
| Enum Constant and Description |
|---|
FLAG |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
A description of the flag type
|
String |
getSymbol()
The Font-Awesome symbol used to represent this flag
|
String |
getType()
A unique identifier for this type of flag
|
static NewFailure |
valueOf(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(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 getType()
Flagpublic String getMessage()
FlaggetMessage in interface FlagCopyright © 2023. All rights reserved.