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