类 FlowContext
java.lang.Object
net.sohelp.boot.engine.workflow.core.FlowContext
FlowLong流程引擎上下文
- 从以下版本开始:
- 1.0
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build(FlowEngine configEngine, boolean banner) 默认初始化流程引擎上下文检查并返回条件表达式booleancreateTask(Execution execution, NodeModel nodeModel) 创建流程任务static <T> T获取创建流程任务处理器实现类获取创建流程任务处理器实现类static voidinvalidateProcessModel(String cacheKey) static ProcessModelparseProcessModel(String content, String cacheKey, boolean redeploy) static StringputAllVariable(String variable, Map<String, Object> args) static voidsetFlowCreateTimeHandler(FlowCreateTimeHandler fctHandler) static String
-
构造器详细资料
-
FlowContext
注入默认流程模型解析器- 参数:
flowCache- 流程缓存processModelParser- 流程模型解析器
-
-
方法详细资料
-
parseProcessModel
-
invalidateProcessModel
-
checkFlowLongExpression
检查并返回条件表达式 -
setFlowCreateTimeHandler
-
fromJson
-
toJson
-
putAllVariable
-
getCreateTaskHandler
获取创建流程任务处理器实现类 -
getFlowConditionHandler
获取创建流程任务处理器实现类 -
createTask
创建流程任务- 参数:
execution- 执行对象nodeModel- 节点模型- 返回:
- true 执行成功 false 执行失败
-
build
默认初始化流程引擎上下文- 参数:
configEngine- 流程配置引擎- 返回:
FlowEngine
-