Enum ResultSnapshot.ResultCodeSnapshot
- java.lang.Object
-
- java.lang.Enum<ResultSnapshot.ResultCodeSnapshot>
-
- com.nhn.gameanvil.gamehammer.tester.result.ResultSnapshot.ResultCodeSnapshot
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ResultSnapshot.ResultCodeSnapshot>
- Enclosing interface:
- ResultSnapshot
public static enum ResultSnapshot.ResultCodeSnapshot extends java.lang.Enum<ResultSnapshot.ResultCodeSnapshot>
스냅샷 요청 결과 코드
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID_PROTOCOL
잘못된 프로토콜SNAPSHOT_FAIL_CONTENT
실패SNAPSHOT_SUCCESS
성공SYSTEM_ERROR
시스템 에러
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResultSnapshot.ResultCodeSnapshot
forErrorCode(Error.ErrorCode errorCode)
int
getNumber()
ResultCode의 값을 반환static ResultSnapshot.ResultCodeSnapshot
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ResultSnapshot.ResultCodeSnapshot[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSTEM_ERROR
public static final ResultSnapshot.ResultCodeSnapshot SYSTEM_ERROR
시스템 에러
-
INVALID_PROTOCOL
public static final ResultSnapshot.ResultCodeSnapshot INVALID_PROTOCOL
잘못된 프로토콜
-
SNAPSHOT_SUCCESS
public static final ResultSnapshot.ResultCodeSnapshot SNAPSHOT_SUCCESS
성공
-
SNAPSHOT_FAIL_CONTENT
public static final ResultSnapshot.ResultCodeSnapshot SNAPSHOT_FAIL_CONTENT
실패컨텐츠에서 거부
-
-
Method Detail
-
values
public static ResultSnapshot.ResultCodeSnapshot[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ResultSnapshot.ResultCodeSnapshot c : ResultSnapshot.ResultCodeSnapshot.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResultSnapshot.ResultCodeSnapshot valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
ResultCode의 값을 반환서버의 ErrorCode의 값과 1:1로 대응
- Returns:
- ResultCode의 값
-
forErrorCode
public static ResultSnapshot.ResultCodeSnapshot forErrorCode(Error.ErrorCode errorCode)
-
-