public static enum GameRunner.GameStatus extends java.lang.Enum<GameRunner.GameStatus>
| Enum Constant and Description |
|---|
ERROR
Game terminated itself because of an internal error.
|
SUCCESS
Game ended successfully
|
TIMEOUT
Game was terminated by the runner because it ran too long
|
| Modifier and Type | Method and Description |
|---|---|
static GameRunner.GameStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameRunner.GameStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameRunner.GameStatus SUCCESS
public static final GameRunner.GameStatus TIMEOUT
public static final GameRunner.GameStatus ERROR
public static GameRunner.GameStatus[] values()
for (GameRunner.GameStatus c : GameRunner.GameStatus.values()) System.out.println(c);
public static GameRunner.GameStatus 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 null