类 LoopNode
java.lang.Object
dev.tinyflow.core.chain.Node
dev.tinyflow.core.node.BaseNode
dev.tinyflow.core.node.LoopNode
- 所有已实现的接口:
Serializable
- 另请参阅:
-
嵌套类概要
嵌套类 -
字段概要
字段从类继承的字段 dev.tinyflow.core.node.BaseNode
outputDefs, parameters从类继承的字段 dev.tinyflow.core.chain.Node
computeCostExpr, condition, description, id, loopBreakCondition, loopEnable, loopIntervalMs, maxLoopCount, maxRetryCount, name, parentId, resetRetryCountAfterNormal, retryEnable, retryIntervalMs, validator -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private Stringprivate voidexecuteLoopChain(Chain chain, LoopNode.LoopContext loopContext, Object loopItem) private Deque<LoopNode.LoopContext>getOrCreateLoopStack(Chain chain) 获取或创建当前节点的 LoopContext 堆栈(每个 LoopNode 实例独立)private voidmergeResult(Map<String, Object> toResult, ChainState subState) 把子流程执行的结果填充到主流程的输出参数中voidsetLoopVar(Parameter loopVar) 从类继承的方法 dev.tinyflow.core.node.BaseNode
addInputParameter, addOutputDef, addOutputDefs, getFormatParameters, getOutputDefs, getParameters, setOutputDefs, setParameters从类继承的方法 dev.tinyflow.core.chain.Node
calculateComputeCost, doCalculateComputeCost, getComputeCostExpr, getCondition, getDescription, getId, getLoopBreakCondition, getLoopIntervalMs, getMaxLoopCount, getMaxRetryCount, getName, getParentId, getRetryIntervalMs, getValidator, isLoopEnable, isResetRetryCountAfterNormal, isRetryEnable, setComputeCostExpr, setCondition, setDescription, setId, setLoopBreakCondition, setLoopEnable, setLoopIntervalMs, setMaxLoopCount, setMaxRetryCount, setName, setParentId, setResetRetryCountAfterNormal, setRetryEnable, setRetryIntervalMs, setValidator, validate