Interface ITaskEvaluator
public interface ITaskEvaluator
Interface for objects that can process task operations that are scheduled.
- Author:
- Voicu Moldovan
-
Method Summary
Modifier and TypeMethodDescriptionboolean
evaluateExpiredTask
(long caseId, long taskId, String tenantId) Handles task expiration.boolean
evaluateTimerTask
(long caseId, long taskId, String tenantId) Handles timer task.boolean
executePendingAutomaticTask
(long taskId) Handles pending automatic task.Handles task expiration.boolean
reevaluateTaskPriority
(long caseId, long taskId, String tenantId) Handles task priority evaluation.
-
Method Details
-
getTask
Handles task expiration.- Parameters:
caseId
- the case idtaskId
- the task idtenantId
- the tenant id- Returns:
- status of the task.
-
evaluateExpiredTask
Handles task expiration.- Parameters:
caseId
- the case idtaskId
- the task idtenantId
- the tenant id- Returns:
- Flag stating if the evaluation was done or not.
-
evaluateTimerTask
Handles timer task.- Parameters:
caseId
- the case idtaskId
- the task idtenantId
- the tenant id- Returns:
- Flag stating if the evaluation was done or not.
-
reevaluateTaskPriority
Handles task priority evaluation.- Parameters:
caseId
- the case idtaskId
- the task idtenantId
- the tenant id- Returns:
- Flag stating if the evaluation was done or not.
-
executePendingAutomaticTask
boolean executePendingAutomaticTask(long taskId) Handles pending automatic task.- Parameters:
taskId
- the task id- Returns:
- Flag stating if the evaluation was done or not.
-