Package com.aquima.interactions.flow
Interface IFlowEngineFactory
- All Known Implementing Classes:
FlowEngineFactory
public interface IFlowEngineFactory
Interface for factories capable of creating flow engine instances.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(INodeDetailsFactory factory, IParserFactory parser, IFlowEngineDS datasource) This method creates a new flow engine using the specified node factory and data source.
-
Method Details
-
create
IFlowEngine create(INodeDetailsFactory factory, IParserFactory parser, IFlowEngineDS datasource) throws InitializationException This method creates a new flow engine using the specified node factory and data source. The node factory is optional, as the default factory will be used when a null value is supplied.- Parameters:
factory
- The node factory that should be used to create nodes.parser
- The expression parser that should be used to parse expressions.datasource
- The data source providing the flow information.- Returns:
- Flow engine implementation for the specified data source.
- Throws:
InitializationException
- This exception is thrown when the flow engine could not be initialised due to a fatal error.
-