public class DefaultProcessModelParser extends Object implements ProcessModelParser
| 构造器和说明 |
|---|
DefaultProcessModelParser(FlowCache flowCache) |
| 限定符和类型 | 方法和说明 |
|---|---|
FlowCache |
getFlowCache()
流程缓存实现类
|
void |
invalidate(String cacheKey)
使缓存失效
|
ProcessModel |
parse(String content,
String cacheKey,
boolean redeploy)
流程模型 JSON 解析
|
public DefaultProcessModelParser(FlowCache flowCache)
public ProcessModel parse(String content, String cacheKey, boolean redeploy)
ProcessModelParserparse 在接口中 ProcessModelParsercontent - 模型内容 JSON 格式cacheKey - 缓存 KEYredeploy - 重新部署 true 是 false 否public void invalidate(String cacheKey)
ProcessModelParserinvalidate 在接口中 ProcessModelParsercacheKey - 缓存 KEYpublic FlowCache getFlowCache()
ProcessModelParsergetFlowCache 在接口中 ProcessModelParserCopyright © 2025. All rights reserved.