public abstract class ExtendedAbstractRoutingSlipCallback extends java.lang.Object implements IRoutingSlipCallback
| Constructor and Description |
|---|
ExtendedAbstractRoutingSlipCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
onSubTaskUpdated(Task task, java.lang.String parentTaskId, java.lang.String action, java.lang.String updatedBy)
Invoked when a sub task is updated
|
abstract void |
onSubTaskUpdated(Task task, java.lang.String parentTaskId, java.lang.String action, java.lang.String updatedBy, java.lang.String previousOutcome)
Invoked when a sub task is updated
|
abstract void |
onTaskAssigned(Task task, java.lang.String action, java.lang.String outcome, java.lang.String outcomeUpdatedBy)
Invoked when the task outcome is set and assigned to next participant
|
abstract void |
onTaskCompleted(Task task)
Invoked when the task is completed, expired, withdrawn or errored
|
abstract void |
onTaskUpdated(Task task, java.lang.String action, java.lang.String updatedBy)
Invoked when the task is updated
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonStageCompletepublic abstract void onTaskAssigned(Task task, java.lang.String action, java.lang.String outcome, java.lang.String outcomeUpdatedBy)
IRoutingSlipCallbackonTaskAssigned in interface IRoutingSlipCallbacktask - The task objectaction - The action that caused the assignmentoutcome - The previous outcome if the assignment happened because a participant set the outcome and routed the taskoutcomeUpdatedBy - The user id of the user who set the previous outcome, if any previous outcomeIRoutingSlipCallback.onTaskAssigned(Task task, String action, String outcome, String outcomeUpdatedBy)public abstract void onTaskCompleted(Task task)
IRoutingSlipCallbackonTaskCompleted in interface IRoutingSlipCallbacktask - The task objectIRoutingSlipCallback.onTaskCompleted(Task task)public abstract void onTaskUpdated(Task task, java.lang.String action, java.lang.String updatedBy)
IRoutingSlipCallbackonTaskUpdated in interface IRoutingSlipCallbacktask - The task objectaction - The action that caused the updateupdatedBy - The id of the user who updated the taskIRoutingSlipCallback.onTaskUpdated(Task task, String action, String updatedBy)public void onSubTaskUpdated(Task task, java.lang.String parentTaskId, java.lang.String action, java.lang.String updatedBy)
IRoutingSlipCallbackonSubTaskUpdated in interface IRoutingSlipCallbacktask - The task objectparentTaskId - The task id of the root parent task. The root parent is not the necessarily the immediate parent, but the original task from which this sub task is derivedaction - The action that caused the updateupdatedBy - The id of the user who updated the taskIRoutingSlipCallback.onSubTaskUpdated(Task task, String parentTaskId, String action, String updatedBy)public abstract void onSubTaskUpdated(Task task, java.lang.String parentTaskId, java.lang.String action, java.lang.String updatedBy, java.lang.String previousOutcome)
task - The task objectparentTaskId - The task id of the root parent task. The root parent is not the necessarily the immediate parent, but the original task from which this sub task is derivedaction - The action that caused the updateupdatedBy - The id of the user who updated the taskpreviousOutcome - The outcome if the action was outcome updated