public enum BlockscoreErrorType extends java.lang.Enum<BlockscoreErrorType>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEqualTo(java.lang.String value)
Returns if this status matches.
|
static BlockscoreErrorType |
toEnum(java.lang.String value)
Converts a string to a enum.
|
java.lang.String |
toString()
Converts an enum to the string value.
|
static BlockscoreErrorType |
valueOf(java.lang.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(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 boolean isEqualTo(java.lang.String value)
value - Value to test@NotNull public static BlockscoreErrorType toEnum(@NotNull java.lang.String value)
value - Value to convert.public java.lang.String toString()
toString in class java.lang.Enum<BlockscoreErrorType>