public class ProcessApplicationEventListenerDelegate extends Object implements ExecutionListener, TaskListener
ExecutionListener and TaskListener implementation delegating to
the ExecutionListener and TaskListener provided by a
ProcessApplication.
If the process application does not provide an execution listener (ie.
ProcessApplicationInterface.getExecutionListener() returns null), the
request is silently ignored.
If the process application does not provide a task listener (ie.
ProcessApplicationInterface.getTaskListener() returns null), the
request is silently ignored.
ProcessApplicationInterface.getExecutionListener(),
ProcessApplicationInterface.getTaskListener()EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKEEVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE| Constructor and Description |
|---|
ProcessApplicationEventListenerDelegate() |
| Modifier and Type | Method and Description |
|---|---|
void |
notify(DelegateExecution execution) |
void |
notify(DelegateTask delegateTask) |
protected void |
notifyExecutionListener(DelegateExecution execution) |
protected void |
notifyTaskListener(DelegateTask task) |
protected void |
performNotification(DelegateExecution execution,
Callable<Void> notification) |
public ProcessApplicationEventListenerDelegate()
public void notify(DelegateExecution execution) throws Exception
notify in interface DelegateListener<DelegateExecution>notify in interface ExecutionListenerExceptionpublic void notify(DelegateTask delegateTask)
notify in interface TaskListenerprotected void performNotification(DelegateExecution execution, Callable<Void> notification) throws Exception
Exceptionprotected void notifyExecutionListener(DelegateExecution execution) throws Exception
Exceptionprotected void notifyTaskListener(DelegateTask task) throws Exception
ExceptionCopyright © 2019. All rights reserved.