public class ExecutionListenerAnswer extends Object implements org.camunda.bpm.engine.delegate.ExecutionListener
Answer that delegates to
the given ExecutionListener. When
using an ExecutionListener-Mock, this Answer can be used to implement
internal behavior of the mock by delegating the method call to the given
delegate instance.| Constructor and Description |
|---|
ExecutionListenerAnswer(org.camunda.bpm.engine.delegate.ExecutionListener executionListener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
answer(org.camunda.bpm.engine.delegate.DelegateExecution parameter)
Every implementing class must define what "answer" should actually do.
|
Void |
answer(org.mockito.invocation.InvocationOnMock invocation) |
void |
notify(org.camunda.bpm.engine.delegate.DelegateExecution execution) |
public ExecutionListenerAnswer(org.camunda.bpm.engine.delegate.ExecutionListener executionListener)
public void notify(org.camunda.bpm.engine.delegate.DelegateExecution execution)
throws Exception
notify in interface org.camunda.bpm.engine.delegate.DelegateListener<org.camunda.bpm.engine.delegate.DelegateExecution>notify in interface org.camunda.bpm.engine.delegate.ExecutionListenerExceptionprotected void answer(org.camunda.bpm.engine.delegate.DelegateExecution parameter)
throws Exception
parameter - either DelegateTask or DelegateExecution.Exception - when anything failsCopyright © 2018 camunda services GmbH. All rights reserved.