Enum Constant and Description |
---|
FAIL_DUPLICATE |
FAIL_EXERNAL_TERMINATION |
FAIL_INCOMPATIBLE_VERSION |
FAIL_IO_ERROR |
FAIL_NO_SUCH_FILE |
FAIL_PLAYERS_IN_WORLD |
FAIL_UNKNOWN_COMPRESSION |
FAIL_UNKNOWN_WORLD |
FAIL_UNLOAD_WORLD_FAILURE |
FILE_END_EARLY |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static EndStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EndStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EndStatus SUCCESS
public static final EndStatus FILE_END_EARLY
public static final EndStatus FAIL_IO_ERROR
public static final EndStatus FAIL_NO_SUCH_FILE
public static final EndStatus FAIL_INCOMPATIBLE_VERSION
public static final EndStatus FAIL_DUPLICATE
public static final EndStatus FAIL_EXERNAL_TERMINATION
public static final EndStatus FAIL_UNKNOWN_WORLD
public static final EndStatus FAIL_UNLOAD_WORLD_FAILURE
public static final EndStatus FAIL_PLAYERS_IN_WORLD
public static final EndStatus FAIL_UNKNOWN_COMPRESSION
public static EndStatus[] values()
for (EndStatus c : EndStatus.values()) System.out.println(c);
public static EndStatus 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 getDescription()