public static enum BuildModel.AfterOpt extends Enum<BuildModel.AfterOpt> implements BaseEnum
CLASS_MAP_MAP, JSON_ARRAY_MAP
Modifier and Type | Method and Description |
---|---|
int |
getCode()
枚举的code
|
String |
getDesc()
枚举的描述
|
static BuildModel.AfterOpt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildModel.AfterOpt[] |
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 BuildModel.AfterOpt No
public static final BuildModel.AfterOpt Restart
public static BuildModel.AfterOpt[] values()
for (BuildModel.AfterOpt c : BuildModel.AfterOpt.values()) System.out.println(c);
public static BuildModel.AfterOpt 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.