Interface WorkflowRequestCompletionNotifier
-
- All Known Implementing Classes:
DefaultWorkflowRequestCompletionNotifier
public interface WorkflowRequestCompletionNotifierResponsible for notifying the async message fabric concerning the completion of aTransitionRequestorWorkflowJobSchedulingRequestorWorkflowJobUnschedulingRequest. For completions where aContextStateAwarerecord is available, theNotificationManagershould be favored over this facility. For cases where such a record is not available (e.g. missing record), it is generally ok to use this notifier, since the requirements of NotificationManager are not able to be met.- See Also:
WorkflowRequestCompletion
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleannotifyOfCompletion(TransitionRequest request, boolean success, Exception e)Sends notification of aTransitionRequest'scompletion including whether success or failure.booleannotifyOfCompletion(WorkflowJobSchedulingRequest request, boolean success, Exception e)Sends notification of aWorkflowJobSchedulingRequest'scompletion including whether success or failure.booleannotifyOfCompletion(WorkflowJobUnschedulingRequest request, boolean success, Exception e)Sends notification of aWorkflowJobUnschedulingRequest'scompletion including whether success or failure.
-
-
-
Method Detail
-
notifyOfCompletion
boolean notifyOfCompletion(@NonNull TransitionRequest request, boolean success, @Nullable Exception e)Sends notification of aTransitionRequest'scompletion including whether success or failure.- Parameters:
request-TransitionRequestthe completion of which to send a notification.success- Whether theTransitionRequestwas successful or failed.e-Exceptionrelated to the request's failure if applicable.- Returns:
- Whether the notification was sent successfully.
-
notifyOfCompletion
boolean notifyOfCompletion(@NonNull WorkflowJobSchedulingRequest request, boolean success, @Nullable Exception e)Sends notification of aWorkflowJobSchedulingRequest'scompletion including whether success or failure.- Parameters:
request-WorkflowJobSchedulingRequestthe completion of which to send a notification.success- Whether theWorkflowJobSchedulingRequestwas successful or failed.e-Exceptionrelated to the request's failure if applicable.- Returns:
- Whether the notification was sent successfully.
-
notifyOfCompletion
boolean notifyOfCompletion(@NonNull WorkflowJobUnschedulingRequest request, boolean success, @Nullable Exception e)Sends notification of aWorkflowJobUnschedulingRequest'scompletion including whether success or failure.- Parameters:
request-WorkflowJobUnschedulingRequestthe completion of which to send a notification.success- Whether theWorkflowJobUnschedulingRequestwas successful or failed.e-Exceptionrelated to the request's failure if applicable.- Returns:
- Whether the notification was sent successfully.
-
-