public class Node extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Node(Chain chain,
NodeDecl decl,
List<Link> links) |
| Modifier and Type | Method and Description |
|---|---|
Chain |
chain()
所属链
|
String |
id()
标识
|
Map<String,Object> |
meta()
元信息
|
<T> T |
meta(String key)
获取元信息
|
<T> T |
metaOrDefault(String key,
T def)
获取元信息或默认
|
List<Link> |
nextLinks()
后面的连接(流出连接)
|
Node |
nextNode()
后面的节点(一个)
|
List<Node> |
nextNodes()
后面的节点
|
List<Link> |
prveLinks()
前面的连接(流入连接)
|
List<Node> |
prveNodes()
前面的节点
|
Task |
task()
任务
|
String |
title()
显示标题
|
String |
toString() |
NodeType |
type()
类型
|
Condition |
when()
任务条件
|
public Chain chain()
public String id()
public String title()
public NodeType type()
public <T> T meta(String key)
public <T> T metaOrDefault(String key, T def)
public Node nextNode()
public Condition when()
public Task task()
Copyright © 2025. All rights reserved.