Class XmlProcessTaskDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.process.ds.xml.parsing.XmlProcessTaskDS
- All Implemented Interfaces:
IReportingDS
,IProcessTaskDS
Xml datasource implementation.
- Since:
- 7.2
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XmlProcessTaskDS
(IInitializationReport report, IXmlNode node) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of the authorization algorithm to use.Gets the custom fields set on this process task.This method returns a description of the process task definition.This method returns a text object containing the name that should be used for display purposes.Gets the expression that determines the date on which this task should be ended.TaskExit[]
This method returns the possible exit states of the task.getId()
This method should return the unique id of the process task.getName()
This method returns the (unique) name of the task definition.This method returns the name of the priority algorithmThis method returns the reevaluation eventThis method returns the expression that should be evaluated for automatic tasks to determine the number of times the task should be retried in case of failure.long
This method returns the interval in minutes the automatic task should wait before a failed task should be attempted again.String[]
getRoles()
This method returns an array containing the roles that allow a user to execute the task.This method returns the name of the routing algorithmboolean
This method returns a boolean indicating if the task is an automated task, and thus should be handled by the system in stead of a user.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
-
Constructor Details
-
XmlProcessTaskDS
-
-
Method Details
-
getDescription
Description copied from interface:IProcessTaskDS
This method returns a description of the process task definition.- Specified by:
getDescription
in interfaceIProcessTaskDS
- Returns:
- a description of the process task definition.
-
getDisplayName
Description copied from interface:IProcessTaskDS
This method returns a text object containing the name that should be used for display purposes.- Specified by:
getDisplayName
in interfaceIProcessTaskDS
- Returns:
- a text object containing the name that should be used for display purposes.
-
getExitStates
Description copied from interface:IProcessTaskDS
This method returns the possible exit states of the task. The abort task exit will always be available for a task, so this method only needs to return exit of the type cancel and continue.- Specified by:
getExitStates
in interfaceIProcessTaskDS
- Returns:
- Array containing the possible exit states.
-
getName
Description copied from interface:IProcessTaskDS
This method returns the (unique) name of the task definition.- Specified by:
getName
in interfaceIProcessTaskDS
- Returns:
- the (unique) name of the task definition.
-
getRoles
Description copied from interface:IProcessTaskDS
This method returns an array containing the roles that allow a user to execute the task. If the method returns an empty array, than the task may be execute by anyone, regardless of role. A user wishing to execute the task should have at least one of the required roles.- Specified by:
getRoles
in interfaceIProcessTaskDS
- Returns:
- array containing the roles that allow a user to execute the task.
-
getAuthorizationAlgorithmName
Description copied from interface:IProcessTaskDS
This method returns the name of the authorization algorithm to use. If no algorithm is specified the task may be executed by everyone.- Specified by:
getAuthorizationAlgorithmName
in interfaceIProcessTaskDS
- Returns:
- The name of the authorization algorithm, or null.
-
getPriorityAlgorithmName
Description copied from interface:IProcessTaskDS
This method returns the name of the priority algorithm- Specified by:
getPriorityAlgorithmName
in interfaceIProcessTaskDS
- Returns:
- The name of the priority algorithm, or null
-
getRoutingAlgorithmName
Description copied from interface:IProcessTaskDS
This method returns the name of the routing algorithm- Specified by:
getRoutingAlgorithmName
in interfaceIProcessTaskDS
- Returns:
- The name of the routing algorithm, or null
-
getRetryCountExpression
Description copied from interface:IProcessTaskDS
This method returns the expression that should be evaluated for automatic tasks to determine the number of times the task should be retried in case of failure. When the method does not return a (valid) expression, the task will be executed once.- Specified by:
getRetryCountExpression
in interfaceIProcessTaskDS
- Returns:
- Expression to determine the retry count for a failed automatic task.
-
getRetryInterval
public long getRetryInterval()Description copied from interface:IProcessTaskDS
This method returns the interval in minutes the automatic task should wait before a failed task should be attempted again.- Specified by:
getRetryInterval
in interfaceIProcessTaskDS
- Returns:
- The interval in minutes between execution attempts of the automatic task.
-
isAutomatic
public boolean isAutomatic()Description copied from interface:IProcessTaskDS
This method returns a boolean indicating if the task is an automated task, and thus should be handled by the system in stead of a user.- Specified by:
isAutomatic
in interfaceIProcessTaskDS
- Returns:
- a boolean indicating if the task is an automated task.
-
getId
Description copied from interface:IProcessTaskDS
This method should return the unique id of the process task.- Specified by:
getId
in interfaceIProcessTaskDS
- Returns:
- String containing the id of the process task.
-
getDueDate
Description copied from interface:IProcessTaskDS
Gets the expression that determines the date on which this task should be ended.- Specified by:
getDueDate
in interfaceIProcessTaskDS
- Returns:
- Expression resulting in a date.
-
getReevaluationEvent
Description copied from interface:IProcessTaskDS
This method returns the reevaluation event- Specified by:
getReevaluationEvent
in interfaceIProcessTaskDS
- Returns:
- The reevaluation event
-
getCustomFields
Description copied from interface:IProcessTaskDS
Gets the custom fields set on this process task.- Specified by:
getCustomFields
in interfaceIProcessTaskDS
- Returns:
- Array of custom fields.
-