Package com.aquima.interactions.flow
Interface INodeDetailsFactory
- All Known Implementing Classes:
DefaultNodeDetailsFactory
,NodeFactory
public interface INodeDetailsFactory
Interface for a node factory that can be used to provide alternative implementations for the nodes.
- Since:
- 7.0
- Author:
- O. Kerpershoek, F. van der Meer
-
Method Summary
Modifier and TypeMethodDescriptioncreateAction
(IActionNodeDS nodeDS, NodeID id) This method should create an action node using the provided parameters.createFlow
(IFlowDS flowDS) This method should create a flow node using the provided parameters.createResult
(INodeDS nodeDS, NodeID id) This method should create a result node using the provided parameters.
-
Method Details
-
createFlow
This method should create a flow node using the provided parameters.- Parameters:
flowDS
- Data source providing the information needed to initialize the flow node.- Returns:
- The new node for the provided parameters.
-
createAction
This method should create an action node using the provided parameters. This is usually a node representing a service call.- Parameters:
nodeDS
- Data source providing the information needed to initialize the node.id
- The ID that should be assigned to the new node.- Returns:
- The new node for the provided parameters.
-
createResult
This method should create a result node using the provided parameters. This node usually represents a page.- Parameters:
nodeDS
- Data source providing the information needed to initialize the node.id
- The ID that should be assigned to the new node.- Returns:
- The new node for the provided parameters.
-