Class FluentTaskListenerMock
- java.lang.Object
-
- org.camunda.community.mockito.mock.FluentMock<org.camunda.bpm.engine.delegate.TaskListener,org.camunda.bpm.engine.delegate.DelegateTask>
-
- org.camunda.community.mockito.mock.FluentTaskListenerMock
-
- All Implemented Interfaces:
org.camunda.bpm.engine.delegate.TaskListener
public class FluentTaskListenerMock extends FluentMock<org.camunda.bpm.engine.delegate.TaskListener,org.camunda.bpm.engine.delegate.DelegateTask> implements org.camunda.bpm.engine.delegate.TaskListener
-
-
Field Summary
-
Fields inherited from class org.camunda.community.mockito.mock.FluentMock
mock, parameterType
-
-
Constructor Summary
Constructors Constructor Description FluentTaskListenerMock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidnotify(org.camunda.bpm.engine.delegate.DelegateTask delegateTask)voidonExecutionSetVariables(org.camunda.bpm.engine.variable.VariableMap variables)voidonExecutionThrowBpmnError(org.camunda.bpm.engine.delegate.BpmnError bpmnError)The implementation of throw-bpmn-error depends on the concrete type.voidonExecutionThrowException(Exception exception)The mock will throw the given exception on execution.-
Methods inherited from class org.camunda.community.mockito.mock.FluentMock
any, getMock, onExecutionSetVariable, onExecutionSetVariable, onExecutionSetVariables, onExecutionThrowBpmnError, onExecutionThrowBpmnError, setVariables
-
-
-
-
Method Detail
-
notify
public final void notify(org.camunda.bpm.engine.delegate.DelegateTask delegateTask)
- Specified by:
notifyin interfaceorg.camunda.bpm.engine.delegate.TaskListener
-
onExecutionSetVariables
public void onExecutionSetVariables(org.camunda.bpm.engine.variable.VariableMap variables)
- Specified by:
onExecutionSetVariablesin classFluentMock<org.camunda.bpm.engine.delegate.TaskListener,org.camunda.bpm.engine.delegate.DelegateTask>- Parameters:
variables- the process variables this delegate sets when executed
-
onExecutionThrowBpmnError
public void onExecutionThrowBpmnError(org.camunda.bpm.engine.delegate.BpmnError bpmnError)
Description copied from class:FluentMockThe implementation of throw-bpmn-error depends on the concrete type.- Specified by:
onExecutionThrowBpmnErrorin classFluentMock<org.camunda.bpm.engine.delegate.TaskListener,org.camunda.bpm.engine.delegate.DelegateTask>- Parameters:
bpmnError- the error instance
-
onExecutionThrowException
public void onExecutionThrowException(Exception exception)
Description copied from class:FluentMockThe mock will throw the given exception on execution.- Specified by:
onExecutionThrowExceptionin classFluentMock<org.camunda.bpm.engine.delegate.TaskListener,org.camunda.bpm.engine.delegate.DelegateTask>- Parameters:
exception- the exception instance
-
-