Class InternalActionNode
java.lang.Object
com.aquima.interactions.flow.model.InternalNode
com.aquima.interactions.flow.model.InternalActionNode
Internal class which represent an action node in the flow graph. The internal action node has a reference to a
IActionNodeDetails object which is used in the process function to execute the desired action.
- Since:
- 7.0
- Author:
- F. van der Meer
-
Constructor Summary
ConstructorsConstructorDescriptionInternalActionNode
(INodeDetailsFactory factory, String flowName, INodeDS nodeDs) Constructs the internal action node. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns a very short descriptive text.process
(IFlowHandler handler) Processes the current node, and executes the action by notifying the flow-handler.Methods inherited from class com.aquima.interactions.flow.model.InternalNode
addEdge, getDefaultEdge, getDetails, getEdges, getExceptionEdge, getId, getTargetId, getType, locateEdge, setDetails, sortEdges
-
Constructor Details
-
InternalActionNode
Constructs the internal action node.- Parameters:
factory
- The node details factory to locate the action details.flowName
- The flow name this node is part of.nodeDs
- The data source for node specific data.- Throws:
InitializationException
- This exception is thrown when the node could not be initialized.
-
-
Method Details
-
process
Processes the current node, and executes the action by notifying the flow-handler.- Parameters:
handler
- The flow handler which can execute the desired action.- Returns:
- The exit state of the action.
- Throws:
FlowActionException
- This exception may be thrown when the processing of the action node fails.FlowExitEventException
- This exception may be thrown when exit event could not be mapped to a correct edge.
-
getDescription
Description copied from class:InternalNode
Returns a very short descriptive text.- Specified by:
getDescription
in classInternalNode
- Returns:
- a very short descriptive text.
-
getActionId
-