public enum SkipType extends Enum<SkipType>
| Modifier and Type | Field and Description |
|---|---|
private String |
key |
private String |
value |
| Modifier and Type | Method and Description |
|---|---|
static SkipType |
getByKey(String key) |
String |
getKey() |
static String |
getKeyByValue(String value) |
String |
getValue() |
static String |
getValueByKey(String key) |
static Boolean |
isNone(String Key)
判断是否无动作类型
|
static Boolean |
isPass(String Key)
判断是否通过类型
|
static Boolean |
isReject(String Key)
判断是否退回类型
|
static SkipType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SkipType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static SkipType[] values()
for (SkipType c : SkipType.values()) System.out.println(c);
public static SkipType 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 String getKeyByValue(String value)
public static String getValueByKey(String key)
Copyright © 2024. All rights reserved.