public enum ActivityStatus extends Enum<ActivityStatus>
| Modifier and Type | Field and Description |
|---|---|
private Integer |
key |
private String |
value |
| Modifier and Type | Method and Description |
|---|---|
static ActivityStatus |
getByKey(String key) |
Integer |
getKey() |
static Integer |
getKeyByValue(String value) |
String |
getValue() |
static String |
getValueByKey(Integer Key) |
static Boolean |
isActivity(Integer Key)
判断流程是否激活
|
static ActivityStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivityStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityStatus SUSPENDED
public static final ActivityStatus ACTIVITY
public static ActivityStatus[] values()
for (ActivityStatus c : ActivityStatus.values()) System.out.println(c);
public static ActivityStatus 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 Integer getKeyByValue(String value)
public static String getValueByKey(Integer Key)
public static ActivityStatus getByKey(String key)
public static Boolean isActivity(Integer Key)
Key - Copyright © 2024. All rights reserved.