public enum FlowStatus extends Enum<FlowStatus>
| Enum Constant and Description |
|---|
APPROVAL |
AUTO_PASS |
CANCEL |
FINISHED |
INVALID |
NULLIFY |
PASS |
REJECT |
RETRIEVE |
TERMINATE |
TOBESUBMIT |
| Modifier and Type | Field and Description |
|---|---|
private String |
key |
private String |
value |
| Modifier and Type | Method and Description |
|---|---|
static FlowStatus |
getByKey(String key) |
String |
getKey() |
static String |
getKeyByValue(String value) |
String |
getValue() |
static String |
getValueByKey(String key) |
static Boolean |
isFinished(String Key)
判断是否结束节点
|
static FlowStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlowStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlowStatus TOBESUBMIT
public static final FlowStatus APPROVAL
public static final FlowStatus PASS
public static final FlowStatus AUTO_PASS
public static final FlowStatus TERMINATE
public static final FlowStatus NULLIFY
public static final FlowStatus CANCEL
public static final FlowStatus RETRIEVE
public static final FlowStatus FINISHED
public static final FlowStatus REJECT
public static final FlowStatus INVALID
public static FlowStatus[] values()
for (FlowStatus c : FlowStatus.values()) System.out.println(c);
public static FlowStatus 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)
public static FlowStatus getByKey(String key)
public static Boolean isFinished(String Key)
Key - Copyright © 2024. All rights reserved.