Class ProcessTaskDelegate
java.lang.Object
com.aquima.interactions.portal.model.process.ProcessTaskDelegate
- All Implemented Interfaces:
IProcessTaskDelegate
Process task delegate implementation used to handle automated tasks.
- Since:
- 7.1
- Author:
- J. van Leuven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteAutomaticTask
(IProcessTask processTask, IProcessEngine engine, String testPath) This method should implement the handling of an automatic task for the specified task.This method should return the user that should be used when the automatic task is assigned.
-
Constructor Details
-
ProcessTaskDelegate
-
-
Method Details
-
executeAutomaticTask
public String executeAutomaticTask(IProcessTask processTask, IProcessEngine engine, String testPath) Description copied from interface:IProcessTaskDelegate
This method should implement the handling of an automatic task for the specified task.- Specified by:
executeAutomaticTask
in interfaceIProcessTaskDelegate
- Parameters:
processTask
- The automatic task, never null.engine
- The process engine, never null.- Returns:
- The task exit event, may be null.
-
getAutomaticUser
Description copied from interface:IProcessTaskDelegate
This method should return the user that should be used when the automatic task is assigned.- Specified by:
getAutomaticUser
in interfaceIProcessTaskDelegate
- Returns:
- The automatic task user.
-