public enum NodeType extends Enum<NodeType>
| Enum Constant and Description |
|---|
ACTIVITY
活动节点
|
END
结束
|
EXCLUSIVE
排他网关(单选)
|
INCLUSIVE
包容网关(多选)
|
PARALLEL
并行网关(全选)
|
START
开始
|
| Modifier and Type | Method and Description |
|---|---|
static NodeType |
codeOf(int code) |
int |
getCode() |
static boolean |
isGateway(NodeType nodeType)
是否为网关
|
static NodeType |
nameOf(String name) |
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 final NodeType START
public static final NodeType END
public static final NodeType ACTIVITY
public static final NodeType EXCLUSIVE
public static final NodeType INCLUSIVE
public static final NodeType PARALLEL
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 int getCode()
public static NodeType codeOf(int code)
public static boolean isGateway(NodeType nodeType)
Copyright © 2025. All rights reserved.