public static enum UserOperateLogV1.Status extends Enum<UserOperateLogV1.Status> implements BaseEnum
CLASS_MAP_MAP, JSON_ARRAY_MAP
Modifier and Type | Method and Description |
---|---|
int |
getCode()
枚举的code
|
String |
getDesc()
枚举的描述
|
static UserOperateLogV1.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserOperateLogV1.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getDescByCode, getEnum, getMap, toJSONArray, toJSONObject
public static final UserOperateLogV1.Status Success
public static final UserOperateLogV1.Status Fail
public static UserOperateLogV1.Status[] values()
for (UserOperateLogV1.Status c : UserOperateLogV1.Status.values()) System.out.println(c);
public static UserOperateLogV1.Status 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 int getCode()
BaseEnum
Copyright © 2017–2019. All rights reserved.