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)
ProcessModelParser
parse
在接口中 ProcessModelParser
content
- 模型内容 JSON 格式cacheKey
- 缓存 KEYredeploy
- 重新部署 true 是 false 否public void invalidate(String cacheKey)
ProcessModelParser
invalidate
在接口中 ProcessModelParser
cacheKey
- 缓存 KEYpublic FlowCache getFlowCache()
ProcessModelParser
getFlowCache
在接口中 ProcessModelParser
Copyright © 2025. All rights reserved.