Class XmlProcessNodeDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.process.ds.xml.parsing.XmlProcessNodeDS
- All Implemented Interfaces:
IReportingDS
,IProcessNodeDS
Xml datasource implementation.
- Since:
- 7.2
- Author:
- Jon van Leuven
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XmlProcessNodeDS
(IInitializationReport report, IXmlNode node) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the condition that should be met in order for the task to be scheduled.This method returns the name of the exit state of this node.getId()
This method should return the unique id of the node.This method returns the message event this node should wait for.This method returns the name of the (sub) process this node represents.This method returns the reevaluation event, which determines when a timer expression needs to be updated.This method returns a boolean expression indicating if the ad-hoc task or process should be removed as soon as the condition no longer evaluates to true.This method returns the name of the task this node represents.This method returns the expression that should be evaluated to determine the wait time.getType()
This method returns the type of the node.boolean
This method returns a boolean indicating if the node is an ad-hoc task or process.boolean
This method returns a boolean indicating if the task may be repeated once it has been completed.boolean
This method returns if the case should be locked when the task is started.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Field Details
-
UNSUPPORTED_PROCESS_EVENT_NODE
-
-
Constructor Details
-
XmlProcessNodeDS
-
-
Method Details
-
getCondition
Description copied from interface:IProcessNodeDS
This method returns the condition that should be met in order for the task to be scheduled. The condition is only relevant when the task is used as an ad-hoc task in a process.- Specified by:
getCondition
in interfaceIProcessNodeDS
- Returns:
- The condition that should be met in order for the task to be scheduled.
-
getMessageEventMapping
Description copied from interface:IProcessNodeDS
This method returns the message event this node should wait for. The name of the event is only relevant for event nodes.- Specified by:
getMessageEventMapping
in interfaceIProcessNodeDS
- Returns:
- The mapping for the message event.
-
getExitState
Description copied from interface:IProcessNodeDS
This method returns the name of the exit state of this node. The exit state is only relevant for end nodes.- Specified by:
getExitState
in interfaceIProcessNodeDS
- Returns:
- the name of the exit state of this node.
-
getProcessName
Description copied from interface:IProcessNodeDS
This method returns the name of the (sub) process this node represents. The process name is only relevant for process nodes.- Specified by:
getProcessName
in interfaceIProcessNodeDS
- Returns:
- the name of the (sub) process this node represents.
-
getRequiredCondition
Description copied from interface:IProcessNodeDS
This method returns a boolean expression indicating if the ad-hoc task or process should be removed as soon as the condition no longer evaluates to true. An ad-hoc process that indicates to be volatile may only contain ad-hoc tasks, and not a normal flow.- Specified by:
getRequiredCondition
in interfaceIProcessNodeDS
- Returns:
- Boolean expression indicating if the ad-hoc task should be removed once the condition is no longer true.
-
getTaskName
Description copied from interface:IProcessNodeDS
This method returns the name of the task this node represents. The task name is only relevant for task nodes.- Specified by:
getTaskName
in interfaceIProcessNodeDS
- Returns:
- the name of the task this node represents.
-
getTimerExpression
Description copied from interface:IProcessNodeDS
This method returns the expression that should be evaluated to determine the wait time. The timer expression is only relevant for wait nodes.- Specified by:
getTimerExpression
in interfaceIProcessNodeDS
- Returns:
- the expression that should be evaluated to determine the wait time.
-
getReevaluationEvent
Description copied from interface:IProcessNodeDS
This method returns the reevaluation event, which determines when a timer expression needs to be updated.- Specified by:
getReevaluationEvent
in interfaceIProcessNodeDS
- Returns:
- the reevaluation event
-
getType
Description copied from interface:IProcessNodeDS
This method returns the type of the node.- Specified by:
getType
in interfaceIProcessNodeDS
- Returns:
- The type of the node.
-
isAdHocTask
public boolean isAdHocTask()Description copied from interface:IProcessNodeDS
This method returns a boolean indicating if the node is an ad-hoc task or process. Only nodes of the type task, process, event, timer and condition may return true here. Nodes that indicate to be ad-hoc may not be used in the main process flow.- Specified by:
isAdHocTask
in interfaceIProcessNodeDS
- Returns:
- boolean indicating if the node is an ad-hoc task or process.
-
isRepeatable
public boolean isRepeatable()Description copied from interface:IProcessNodeDS
This method returns a boolean indicating if the task may be repeated once it has been completed. Note: Only ad-hoc nodes can be repeatable, except for an ad hoc condition nodes.- Specified by:
isRepeatable
in interfaceIProcessNodeDS
- Returns:
- a boolean indicating if the task may be repeated once it has been completed.
-
locksCase
public boolean locksCase()Description copied from interface:IProcessNodeDS
This method returns if the case should be locked when the task is started. The locksCase flag is only relevant for task nodes.- Specified by:
locksCase
in interfaceIProcessNodeDS
- Returns:
- the lock case flag of the task this node represents.
-
getId
Description copied from interface:IProcessNodeDS
This method should return the unique id of the node.- Specified by:
getId
in interfaceIProcessNodeDS
- Returns:
- String containing the id of the node.
-