Class DefaultNodeDetailsFactory
java.lang.Object
com.aquima.interactions.flow.model.DefaultNodeDetailsFactory
- All Implemented Interfaces:
INodeDetailsFactory
Node details factory that is used when no custom factory is provided.
- Since:
- 7.0
- Author:
- O. Kerpershoek, F. van der Meer
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
DefaultNodeDetailsFactory
public DefaultNodeDetailsFactory()
-
-
Method Details
-
createAction
Description copied from interface:INodeDetailsFactory
This method should create an action node using the provided parameters. This is usually a node representing a service call.- Specified by:
createAction
in interfaceINodeDetailsFactory
- 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.
-
createFlow
Description copied from interface:INodeDetailsFactory
This method should create a flow node using the provided parameters.- Specified by:
createFlow
in interfaceINodeDetailsFactory
- Parameters:
flowDS
- Data source providing the information needed to initialize the flow node.- Returns:
- The new node for the provided parameters.
-
createResult
Description copied from interface:INodeDetailsFactory
This method should create a result node using the provided parameters. This node usually represents a page.- Specified by:
createResult
in interfaceINodeDetailsFactory
- 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.
-