限定符和类型 | 方法和说明 |
---|---|
FlowContext |
FlowEngine.getContext() |
限定符和类型 | 方法和说明 |
---|---|
void |
TaskCreateInterceptor.after(FlowContext flowLongContext,
Execution execution)
拦截后置处理方法
|
default void |
TaskCreateInterceptor.before(FlowContext flowLongContext,
Execution execution)
拦截前置处理方法
|
FlowEngine |
FlowEngine.configure(FlowContext config)
根据Configuration对象配置实现类
|
boolean |
ModelInstance.execute(FlowContext flowLongContext,
Execution execution)
执行流程元素
|
Date |
TaskReminder.remind(FlowContext context,
Long instanceId,
FlwTask currentTask)
提醒操作
|
限定符和类型 | 字段和说明 |
---|---|
protected FlowContext |
FlowEngineImpl.flowLongContext
配置对象
|
限定符和类型 | 方法和说明 |
---|---|
FlowContext |
FlowContext.build(FlowEngine configEngine,
boolean banner)
默认初始化流程引擎上下文
|
FlowContext |
FlowEngineImpl.getContext() |
限定符和类型 | 方法和说明 |
---|---|
FlowEngine |
FlowEngineImpl.configure(FlowContext flowLongContext) |
boolean |
Execution.executeNodeModel(FlowContext flowLongContext,
String nodeKey)
执行节点模型
|
限定符和类型 | 方法和说明 |
---|---|
Optional<FlwInstance> |
FlwProcess.executeStartModel(FlowContext flowLongContext,
FlowCreator flowCreator,
Function<NodeModel,Execution> function)
执行开始模型
|
限定符和类型 | 方法和说明 |
---|---|
Optional<ConditionNode> |
ConditionNodeHandler.getConditionNode(FlowContext flowLongContext,
Execution execution,
NodeModel nodeModel)
获取满足条件的条件节点
子类需要实现的方法,来处理具体的操作
|
Optional<List<ConditionNode>> |
ConditionNodeHandler.getInclusiveNodes(FlowContext flowLongContext,
Execution execution,
NodeModel nodeModel)
获取满足条件的所有包容分支节点
子类需要实现的方法,来处理具体的操作
|
Optional<ConditionNode> |
ConditionNodeHandler.getRouteNode(FlowContext flowLongContext,
Execution execution,
NodeModel nodeModel)
获取满足条件的路由节点
子类需要实现的方法,来处理具体的操作
|
boolean |
CreateTaskHandler.handle(FlowContext flowLongContext,
Execution execution,
NodeModel nodeModel)
子类需要实现的方法,来处理具体的操作
|
限定符和类型 | 方法和说明 |
---|---|
Map<String,Object> |
SimpleConditionNodeHandler.getArgs(FlowContext flowLongContext,
Execution execution) |
Optional<ConditionNode> |
SimpleConditionNodeHandler.getConditionNode(FlowContext flowLongContext,
Execution execution,
NodeModel nodeModel) |
Optional<List<ConditionNode>> |
SimpleConditionNodeHandler.getInclusiveNodes(FlowContext flowLongContext,
Execution execution,
NodeModel nodeModel) |
Optional<ConditionNode> |
SimpleConditionNodeHandler.getRouteNode(FlowContext flowLongContext,
Execution execution,
NodeModel nodeModel) |
boolean |
SimpleCreateTaskHandler.handle(FlowContext flowLongContext,
Execution execution,
NodeModel nodeModel)
根据任务模型、执行对象,创建下一个任务,并添加到execution对象的tasks集合中
|
Optional<ConditionNode> |
SimpleConditionNodeHandler.matchConditionNode(FlowContext flowLongContext,
Execution execution,
List<ConditionNode> conditionNodes) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
NodeModel.execute(FlowContext flowLongContext,
Execution execution)
执行节点
|
void |
NodeModel.executeConditionNode(FlowContext flowLongContext,
Execution execution,
ConditionNode conditionNode)
执行条件节点分支
|
static List<String> |
ModelHelper.getAllUsedNodeKeys(FlowContext flowLongContext,
Execution execution,
NodeModel rootNodeModel,
String currentNodeKey)
获取当前已使用的节点key列表
|
static void |
ModelHelper.getChildAllUsedNodeKeys(List<String> currentUsedNodeKeys,
FlowContext flowLongContext,
Execution execution,
NodeModel rootNodeModel,
String currentNodeKey) |
static List<NodeModel> |
ModelHelper.getNextChildNodes(FlowContext flowLongContext,
Execution execution,
NodeModel rootNodeModel,
String currentNodeKey)
动态获取下一个节点
|
限定符和类型 | 方法和说明 |
---|---|
FlowContext |
FlowAutoConfiguration.flowLongContext(ProcessService processService,
QueryService queryService,
RuntimeService runtimeService,
TaskService taskService,
Expression expression,
TaskAccessStrategy taskAccessStrategy,
TaskActorProvider taskActorProvider,
FlowEngine flowLongEngine,
FlowProperties flp,
FlowCache flowCache,
ProcessModelParser processModelParser,
FlowJsonHandler flowJsonHandler,
ConditionNodeHandler conditionNodeHandler,
TaskCreateInterceptor taskCreateInterceptor,
CreateTaskHandler createTaskHandler,
TaskReminder taskReminder,
TaskTrigger taskTrigger) |
Copyright © 2025. All rights reserved.