Class EventPublishUtil


  • public class EventPublishUtil
    extends java.lang.Object
    The EventsPublisher provides a utility for publishing workflow related events.
    • Constructor Detail

      • EventPublishUtil

        public EventPublishUtil​(EventAdmin eventAdmin)
    • Method Detail

      • publishModelDeployedEvent

        public void publishModelDeployedEvent​(java.lang.String id,
                                              java.lang.String version,
                                              java.lang.String user)
      • publishModelDeletedEvent

        public void publishModelDeletedEvent​(java.lang.String id,
                                             java.lang.String user)
      • publishWorkflowStartedEvent

        public void publishWorkflowStartedEvent​(Workflow instance,
                                                Workflow parentWorkflow,
                                                java.lang.String user,
                                                WorkflowData data)
      • publishWorkflowAbortedEvent

        public void publishWorkflowAbortedEvent​(Workflow instance,
                                                java.lang.String userId)
      • publishWorkflowSuspendedEvent

        public void publishWorkflowSuspendedEvent​(Workflow instance,
                                                  java.lang.String user)
      • publishWorkflowResumedEvent

        public void publishWorkflowResumedEvent​(Workflow instance,
                                                java.lang.String user)
      • publishNodeTransitionEvent

        public void publishNodeTransitionEvent​(Workflow instance,
                                               java.lang.String fromNodeName,
                                               java.lang.String toNodeName,
                                               WorkItem workitem,
                                               java.lang.String user)
      • publishVariableUpdatedEvent

        public void publishVariableUpdatedEvent​(Workflow instance,
                                                java.lang.String variableName,
                                                java.lang.Object variableValue,
                                                java.lang.String user)
      • publishProcessTimeoutEvent

        public void publishProcessTimeoutEvent​(Workflow instance,
                                               java.lang.String processName)
      • publishJobEvent

        public void publishJobEvent​(java.util.Map workItemMap,
                                    java.lang.Integer retryCount,
                                    int numOfParallelProcs,
                                    java.lang.String jobId)
      • publishExternalProcessJobEvent

        public void publishExternalProcessJobEvent​(java.util.Map workItemMap,
                                                   java.lang.Integer retryCount,
                                                   java.lang.String jobId)
      • publishJobFailedEvent

        public void publishJobFailedEvent​(WorkItem item,
                                          java.lang.String message)
      • publishResetTimeoutEvent

        public void publishResetTimeoutEvent​(WorkItem item)
      • publishDelegationEvent

        public void publishDelegationEvent​(Workflow instance,
                                           Authorizable participant,
                                           WorkItem item,
                                           java.lang.String user)
      • publishResourceCollectionModificationEvent

        public void publishResourceCollectionModificationEvent​(java.lang.String path)