java.io.Serializable
, java.lang.Comparable<ResponseStartReplay.Error>
public static enum ResponseStartReplay.Error extends java.lang.Enum<ResponseStartReplay.Error>
Enum Constant | Description |
---|---|
INVALID_MAP_DATA |
|
INVALID_OBSERVED_PLAYER_ID |
|
INVALID_REPLAY_DATA |
|
INVALID_REPLAY_PATH |
|
LAUNCH_ERROR |
|
MISSING_OPTIONS |
|
MISSING_REPLAY |
Modifier and Type | Method | Description |
---|---|---|
static ResponseStartReplay.Error |
from(SC2APIProtocol.Sc2Api.ResponseStartReplay.Error sc2ApiResponseStartReplayError) |
|
static ResponseStartReplay.Error |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ResponseStartReplay.Error[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseStartReplay.Error MISSING_REPLAY
public static final ResponseStartReplay.Error INVALID_REPLAY_PATH
public static final ResponseStartReplay.Error INVALID_REPLAY_DATA
public static final ResponseStartReplay.Error INVALID_MAP_DATA
public static final ResponseStartReplay.Error INVALID_OBSERVED_PLAYER_ID
public static final ResponseStartReplay.Error MISSING_OPTIONS
public static final ResponseStartReplay.Error LAUNCH_ERROR
public static ResponseStartReplay.Error[] values()
for (ResponseStartReplay.Error c : ResponseStartReplay.Error.values()) System.out.println(c);
public static ResponseStartReplay.Error 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 static ResponseStartReplay.Error from(SC2APIProtocol.Sc2Api.ResponseStartReplay.Error sc2ApiResponseStartReplayError)
Copyright © 2017–2018 Ocraft Project. All rights reserved.