Class DefaultProcessModelParser

  • All Implemented Interfaces:
    ProcessModelParser

    public class DefaultProcessModelParser
    extends java.lang.Object
    implements ProcessModelParser
    FlowLong 默认流程模型解析器

    官网尊重知识产权,不允许非法使用,后果自负

    Since:
    1.0
    Author:
    hubin
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FlowCache getFlowCache()
      流程缓存实现类
      void invalidate​(java.lang.String cacheKey)
      使缓存失效
      ProcessModel parse​(java.lang.String content, java.lang.String cacheKey, boolean redeploy)
      流程模型 JSON 解析
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultProcessModelParser

        public DefaultProcessModelParser​(FlowCache flowCache)
    • Method Detail

      • parse

        public ProcessModel parse​(java.lang.String content,
                                  java.lang.String cacheKey,
                                  boolean redeploy)
        Description copied from interface: ProcessModelParser
        流程模型 JSON 解析
        Specified by:
        parse in interface ProcessModelParser
        Parameters:
        content - 模型内容 JSON 格式
        cacheKey - 缓存 KEY
        redeploy - 重新部署 true 是 false 否
        Returns:
        流程模型
      • invalidate

        public void invalidate​(java.lang.String cacheKey)
        Description copied from interface: ProcessModelParser
        使缓存失效
        Specified by:
        invalidate in interface ProcessModelParser
        Parameters:
        cacheKey - 缓存 KEY