Package org.frankframework.util.flow
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected IFlowGeneratorcreateFlowGenerator(String generatorBeanClass) Optional IFlowGenerator.voiddestroy()voidgenerate(List<Configuration> configurations) voidgenerate(Configuration configuration) voidget(List<Configuration> configurations) get(Configuration configuration) getAdapterConfigurationAsString(Adapter adapter) getConfigurationXml(List<Configuration> configurations) org.springframework.util.MimeTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
-
Constructor Details
-
FlowDiagramManager
public FlowDiagramManager()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getMediaType
public org.springframework.util.MimeType getMediaType() -
createFlowGenerator
Optional IFlowGenerator. If not present, the FlowDiagramManager should still be able to generate dot files and return the `noImageAvailable` image. -
get
- Throws:
IOException
-
get
- Throws:
IOException
-
get
- Throws:
IOException
-
generate
- Throws:
IOException
-
generate
- Throws:
IOException
-
generate
- Throws:
IOException
-
getAdapterConfigurationAsString
-
getConfigurationXml
-
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-