方法概要
所有方法 静态方法 具体方法
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
从类继承的方法 java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
从接口继承的方法 cn.hamm.airpower.interfaces.IResult
getCode , getMessage , show , show , show , when , when , when , whenEmpty , whenEmpty , whenEquals , whenEquals , whenEquals , whenEquals , whenEqualsIgnoreCase , whenEqualsIgnoreCase , whenNotEquals , whenNotEquals , whenNotEquals , whenNotEquals , whenNotEqualsIgnoreCase , whenNotEqualsIgnoreCase , whenNotNull , whenNotNull , whenNull , whenNull
枚举常量详细资料
SUCCESS
public static final Result SUCCESS
CONTINUE
public static final Result CONTINUE
UPGRADE_CLIENT_NECESSARY
public static final Result UPGRADE_CLIENT_NECESSARY
UPGRADE_CLIENT_OPTIONAL
public static final Result UPGRADE_CLIENT_OPTIONAL
PARAM_MISSING
public static final Result PARAM_MISSING
PARAM_INVALID
public static final Result PARAM_INVALID
UNAUTHORIZED
public static final Result UNAUTHORIZED
FORBIDDEN
public static final Result FORBIDDEN
FORBIDDEN_EXIST
public static final Result FORBIDDEN_EXIST
FORBIDDEN_EDIT
public static final Result FORBIDDEN_EDIT
FORBIDDEN_DELETE
public static final Result FORBIDDEN_DELETE
FORBIDDEN_DELETE_USED
public static final Result FORBIDDEN_DELETE_USED
FORBIDDEN_UPLOAD_MAX_SIZE
public static final Result FORBIDDEN_UPLOAD_MAX_SIZE
DATA_NOT_FOUND
public static final Result DATA_NOT_FOUND
REQUEST_METHOD_UNSUPPORTED
public static final Result REQUEST_METHOD_UNSUPPORTED
REQUEST_CONTENT_TYPE_UNSUPPORTED
public static final Result REQUEST_CONTENT_TYPE_UNSUPPORTED
ERROR
public static final Result ERROR
API_SERVICE_UNSUPPORTED
public static final Result API_SERVICE_UNSUPPORTED
DATABASE_ERROR
public static final Result DATABASE_ERROR
DATABASE_UNKNOWN_FIELD
public static final Result DATABASE_UNKNOWN_FIELD
DATABASE_TABLE_OR_FIELD_ERROR
public static final Result DATABASE_TABLE_OR_FIELD_ERROR
REDIS_ERROR
public static final Result REDIS_ERROR
EMAIL_ERROR
public static final Result EMAIL_ERROR
方法详细资料
values
public static Result [] values ()
Returns an array containing the constants of this enum class, in
the order they are declared.
返回:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
参数:
name - 要返回的枚举常量的名称。
返回:
返回带有指定名称的枚举常量
抛出:
IllegalArgumentException - if this enum class has no constant with the specified name
NullPointerException - 如果参数为空值