public class EventPublishUtil
extends java.lang.Object
EventsPublisher
provides a utility for publishing workflow
related events.Constructor and Description |
---|
EventPublishUtil(EventAdmin eventAdmin) |
Modifier and Type | Method and Description |
---|---|
void |
publishDelegationEvent(Workflow instance,
Authorizable participant,
WorkItem item,
java.lang.String user) |
void |
publishExternalProcessJobEvent(java.util.Map workItemMap,
java.lang.Integer retryCount,
java.lang.String jobId) |
void |
publishJobEvent(java.util.Map workItemMap,
java.lang.Integer retryCount,
int numOfParallelProcs,
java.lang.String jobId) |
void |
publishJobFailedEvent(WorkItem item,
java.lang.String message) |
void |
publishModelDeletedEvent(java.lang.String id,
java.lang.String user) |
void |
publishModelDeployedEvent(java.lang.String id,
java.lang.String version,
java.lang.String user) |
void |
publishNodeTransitionEvent(Workflow instance,
java.lang.String fromNodeName,
java.lang.String toNodeName,
WorkItem workitem,
java.lang.String user) |
void |
publishProcessTimeoutEvent(Workflow instance,
java.lang.String processName) |
void |
publishResetTimeoutEvent(WorkItem item) |
void |
publishResourceCollectionModificationEvent(java.lang.String path) |
void |
publishTimeoutEvent(WorkItem item,
WorkflowSession session) |
void |
publishVariableUpdatedEvent(Workflow instance,
java.lang.String variableName,
java.lang.Object variableValue,
java.lang.String user) |
void |
publishWorkflowAbortedEvent(Workflow instance,
java.lang.String userId) |
void |
publishWorkflowCompletedEvent(Workflow instance,
java.lang.String user) |
void |
publishWorkflowResumedEvent(Workflow instance,
java.lang.String user) |
void |
publishWorkflowStartedEvent(Workflow instance,
Workflow parentWorkflow,
java.lang.String user,
WorkflowData data) |
void |
publishWorkflowSuspendedEvent(Workflow instance,
java.lang.String user) |
public EventPublishUtil(EventAdmin eventAdmin)
public void publishModelDeployedEvent(java.lang.String id, java.lang.String version, java.lang.String user)
public void publishModelDeletedEvent(java.lang.String id, java.lang.String user)
public void publishWorkflowStartedEvent(Workflow instance, Workflow parentWorkflow, java.lang.String user, WorkflowData data)
public void publishWorkflowAbortedEvent(Workflow instance, java.lang.String userId)
public void publishWorkflowSuspendedEvent(Workflow instance, java.lang.String user)
public void publishWorkflowResumedEvent(Workflow instance, java.lang.String user)
public void publishWorkflowCompletedEvent(Workflow instance, java.lang.String user) throws WorkflowException
WorkflowException
public void publishNodeTransitionEvent(Workflow instance, java.lang.String fromNodeName, java.lang.String toNodeName, WorkItem workitem, java.lang.String user)
public void publishVariableUpdatedEvent(Workflow instance, java.lang.String variableName, java.lang.Object variableValue, java.lang.String user)
public void publishProcessTimeoutEvent(Workflow instance, java.lang.String processName)
public void publishJobEvent(java.util.Map workItemMap, java.lang.Integer retryCount, int numOfParallelProcs, java.lang.String jobId)
public void publishExternalProcessJobEvent(java.util.Map workItemMap, java.lang.Integer retryCount, java.lang.String jobId)
public void publishJobFailedEvent(WorkItem item, java.lang.String message)
public void publishTimeoutEvent(WorkItem item, WorkflowSession session)
public void publishResetTimeoutEvent(WorkItem item)
public void publishDelegationEvent(Workflow instance, Authorizable participant, WorkItem item, java.lang.String user)
public void publishResourceCollectionModificationEvent(java.lang.String path)
Copyright © 2010 - 2020 Adobe. All Rights Reserved