public enum BlockscoreErrorType extends Enum<BlockscoreErrorType>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEqualTo(String value)
Returns if this status matches.
|
static BlockscoreErrorType |
toEnum(String value)
Converts a string to a enum.
|
String |
toString()
Converts an enum to the string value.
|
static BlockscoreErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockscoreErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockscoreErrorType INVALID
public static final BlockscoreErrorType API
public static final BlockscoreErrorType UNKNOWN
public static BlockscoreErrorType[] values()
for (BlockscoreErrorType c : BlockscoreErrorType.values()) System.out.println(c);
public static BlockscoreErrorType 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 boolean isEqualTo(String value)
value - Value to test@NotNull public static BlockscoreErrorType toEnum(@NotNull String value)
value - Value to convert.public String toString()
toString in class Enum<BlockscoreErrorType>