public enum NodeType extends Enum<NodeType>
| Enum Constant and Description |
|---|
BETWEEN
中间节点
|
END
结束节点
|
PARALLEL
并行网关
|
SERIAL
互斥网关
|
START
开始节点
|
| Modifier and Type | Field and Description |
|---|---|
private Integer |
key |
private String |
value |
| Modifier and Type | Method and Description |
|---|---|
static NodeType |
getByKey(String key) |
Integer |
getKey() |
static Integer |
getKeyByValue(String value) |
String |
getValue() |
static String |
getValueByKey(Integer Key) |
static Boolean |
isBetween(Integer Key)
判断是否中间节点
|
static Boolean |
isEnd(Integer Key)
判断是否结束节点
|
static Boolean |
isGateWay(Integer Key)
判断是否网关节点
|
static Boolean |
isGateWayParallel(Integer Key)
判断是否并行网关节点
|
static Boolean |
isGateWaySerial(Integer Key)
判断是否互斥网关节点
|
static Boolean |
isStart(Integer Key)
判断是否开始节点
|
static NodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static NodeType[] values()
for (NodeType c : NodeType.values()) System.out.println(c);
public static NodeType 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 Boolean isGateWaySerial(Integer Key)
Key - public static Boolean isGateWayParallel(Integer Key)
Key - Copyright © 2024. All rights reserved.