public static enum RejectResponseContent.RejectCode extends Enum<RejectResponseContent.RejectCode>
Enum Constant and Description |
---|
ACCESS_DENIED
Доступ запрещен
|
FAILURE
Общая ошибка
|
NO_DATA
Нет данных
|
UNKNOWN_REQUEST_DESCRIPTION
Неизвестное описание запроса
|
Modifier and Type | Method and Description |
---|---|
static RejectResponseContent.RejectCode |
fromValue(String v)
/**
Возвращает причину отклонения по ее текстовому представлению
|
String |
value()
Причина в виде строки
|
static RejectResponseContent.RejectCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RejectResponseContent.RejectCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RejectResponseContent.RejectCode ACCESS_DENIED
public static final RejectResponseContent.RejectCode NO_DATA
public static final RejectResponseContent.RejectCode UNKNOWN_REQUEST_DESCRIPTION
public static final RejectResponseContent.RejectCode FAILURE
public static RejectResponseContent.RejectCode[] values()
for (RejectResponseContent.RejectCode c : RejectResponseContent.RejectCode.values()) System.out.println(c);
public static RejectResponseContent.RejectCode 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 static RejectResponseContent.RejectCode fromValue(String v)
v
- текстовое представлениеpublic String value()
Copyright © 2017. All rights reserved.