public class JavaDelegateAnswer extends Object implements org.camunda.bpm.engine.delegate.JavaDelegate
Answer that delegates to
the given JavaDelegate. When using an
JavaDelegate-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 |
|---|
JavaDelegateAnswer(org.camunda.bpm.engine.delegate.JavaDelegate javaDelegate) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
answer(org.camunda.bpm.engine.delegate.DelegateExecution delegateExecution)
Every implementing class must define what "answer" should actually do.
|
Void |
answer(org.mockito.invocation.InvocationOnMock invocation) |
void |
execute(org.camunda.bpm.engine.delegate.DelegateExecution execution) |
public JavaDelegateAnswer(org.camunda.bpm.engine.delegate.JavaDelegate javaDelegate)
public void execute(org.camunda.bpm.engine.delegate.DelegateExecution execution)
throws Exception
execute in interface org.camunda.bpm.engine.delegate.JavaDelegateExceptionprotected void answer(org.camunda.bpm.engine.delegate.DelegateExecution delegateExecution)
throws Exception
delegateExecution - either DelegateTask or DelegateExecution.Exception - when anything failsCopyright © 2017 camunda services GmbH. All rights reserved.