public enum MethodEnums extends Enum<MethodEnums>
| Enum Constant and Description |
|---|
ACCOUNT_PUT_DEPLOY |
INFO_GET_PEERS |
INFO_GET_STATUS |
STATE_GET_AUCTION_INFO |
STATE_GET_BALANCE |
STATE_GET_ITEM |
STATE_ROOT_HASH |
| Modifier and Type | Method and Description |
|---|---|
String |
buildErrorMessage(com.fasterxml.jackson.databind.JsonNode node) |
abstract String |
getValue(String result) |
static MethodEnums |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodEnums[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodEnums STATE_ROOT_HASH
public static final MethodEnums STATE_GET_ITEM
public static final MethodEnums STATE_GET_BALANCE
public static final MethodEnums STATE_GET_AUCTION_INFO
public static final MethodEnums INFO_GET_PEERS
public static final MethodEnums INFO_GET_STATUS
public static final MethodEnums ACCOUNT_PUT_DEPLOY
public static MethodEnums[] values()
for (MethodEnums c : MethodEnums.values()) System.out.println(c);
public static MethodEnums valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract String getValue(String result) throws ValueNotFoundException
ValueNotFoundExceptionpublic String buildErrorMessage(com.fasterxml.jackson.databind.JsonNode node)
Copyright © 2021. All rights reserved.