Class FlowDiagramManager

java.lang.Object
org.frankframework.util.flow.FlowDiagramManager
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class FlowDiagramManager extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Utility class to generate the flow diagram for an adapter or a configuration.
Version:
2.0
Author:
Niels Meijer
  • Constructor Details

    • FlowDiagramManager

      public FlowDiagramManager()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • getMediaType

      public org.springframework.util.MimeType getMediaType()
    • createFlowGenerator

      protected IFlowGenerator createFlowGenerator(String generatorBeanClass)
      Optional IFlowGenerator. If not present, the FlowDiagramManager should still be able to generate dot files and return the `noImageAvailable` image.
    • get

      public InputStream get(Adapter adapter) throws IOException
      Throws:
      IOException
    • get

      public InputStream get(Configuration configuration) throws IOException
      Throws:
      IOException
    • get

      public InputStream get(List<Configuration> configurations) throws IOException
      Throws:
      IOException
    • generate

      public void generate(Adapter adapter) throws IOException
      Throws:
      IOException
    • generate

      public void generate(Configuration configuration) throws IOException
      Throws:
      IOException
    • generate

      public void generate(List<Configuration> configurations) throws IOException
      Throws:
      IOException
    • getAdapterConfigurationAsString

      public String getAdapterConfigurationAsString(Adapter adapter)
    • getConfigurationXml

      public String getConfigurationXml(List<Configuration> configurations)
    • destroy

      public void destroy() throws Exception
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
      Throws:
      Exception
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware