Class FlowPath
java.lang.Object
com.aquima.interactions.flow.model.FlowPath
- All Implemented Interfaces:
IFlowPath
,Serializable
Simple class holding the nodes that have been processed during a flow action.
- Since:
- 5.0
- Author:
- O. Kerpershoek, F. van der Meer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
containsFlow
(String flowName) int
depth()
This method returns the depth of the flow path.protected FlowPath
protected void
enterNode
(INodeDetails node) protected int
flowSize()
This method returns the current node of the flow action, without removing it from the flow path.getNodes()
This method returns all the nodes that have been encountered during the flow action.protected IFlowNodeDetails
toString()
-
Constructor Details
-
FlowPath
protected FlowPath() -
FlowPath
-
FlowPath
-
-
Method Details
-
containsFlow
-
enterNode
-
getCurrentNode
Description copied from interface:IFlowPath
This method returns the current node of the flow action, without removing it from the flow path.- Specified by:
getCurrentNode
in interfaceIFlowPath
- Returns:
- the current node of the flow action.
-
depth
public int depth()Description copied from interface:IFlowPath
This method returns the depth of the flow path. The depth is equal to the number of flow nodes that is returned by the getNodes method. -
flowSize
protected int flowSize() -
getNodes
Description copied from interface:IFlowPath
This method returns all the nodes that have been encountered during the flow action. -
leaveFlow
-
duplicate
-
toString
-