public class FlowContext extends Object
| 构造器和说明 | 
|---|
| FlowContext(FlowCache flowCache,
           ProcessModelParser processModelParser)注入默认流程模型解析器 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| FlowContext | build(FlowEngine configEngine,
     boolean banner)默认初始化流程引擎上下文 | 
| Expression | checkExpression()检查并返回条件表达式 | 
| boolean | createTask(Execution execution,
          NodeModel nodeModel)创建流程任务 | 
| static <T> T | fromJson(String jsonString,
        Class<T> clazz) | 
| CreateTaskHandler | getCreateTaskHandler()获取创建流程任务处理器实现类 | 
| ConditionNodeHandler | getFlowConditionHandler()获取创建流程任务处理器实现类 | 
| static void | invalidateProcessModel(String cacheKey) | 
| static ProcessModel | parseProcessModel(String content,
                 String cacheKey,
                 boolean redeploy) | 
| static String | toJson(Object object) | 
public FlowContext(FlowCache flowCache, ProcessModelParser processModelParser)
flowCache - 流程缓存processModelParser - 流程模型解析器public static ProcessModel parseProcessModel(String content, String cacheKey, boolean redeploy)
public static void invalidateProcessModel(String cacheKey)
public Expression checkExpression()
public CreateTaskHandler getCreateTaskHandler()
public ConditionNodeHandler getFlowConditionHandler()
public boolean createTask(Execution execution, NodeModel nodeModel)
execution - 执行对象nodeModel - 节点模型public FlowContext build(FlowEngine configEngine, boolean banner)
configEngine - 流程配置引擎FlowEngineCopyright © 2025. All rights reserved.