| Package | Description |
|---|---|
| org.camunda.bpm.extension.mockito | |
| org.camunda.bpm.extension.mockito.process |
| Modifier and Type | Method and Description |
|---|---|
static CallActivityMock |
CamundaMockito.registerCallActivityMock(String processDefinitionKey) |
static CallActivityMock |
ProcessExpressions.registerCallActivityMock(String processDefinitionKey) |
| Modifier and Type | Method and Description |
|---|---|
CallActivityMock |
CallActivityMock.onExecutionAddVariable(String key,
Object val)
On execution, the MockProcess will add the given process variable
|
CallActivityMock |
CallActivityMock.onExecutionAddVariables(org.camunda.bpm.engine.variable.VariableMap variables)
On execution, the MockProcess will add the given VariableMap to the execution
|
CallActivityMock |
CallActivityMock.onExecutionDo(java.util.function.Consumer<org.camunda.bpm.engine.delegate.DelegateExecution> consumer)
On execution, the MockProcess will call the given consumer with a DelegateExecution.
|
CallActivityMock |
CallActivityMock.onExecutionDo(String serviceId,
java.util.function.Consumer<org.camunda.bpm.engine.delegate.DelegateExecution> consumer)
On execution, the MockProcess will execute the given consumer with a DelegateExecution.
|
CallActivityMock |
CallActivityMock.onExecutionRunIntoError(Throwable exception)
On execution, the MockProcess will throw a RuntimeException for the given Throwable.
|
CallActivityMock |
CallActivityMock.onExecutionSendMessage(String message)
On execution, the MockProcess will send the given message to all
|
CallActivityMock |
CallActivityMock.onExecutionSendMessage(String message,
String businessId)
On execution, the MockProcess will send the given message to a process instance with the given businessId
|
CallActivityMock |
CallActivityMock.onExecutionSetVariables(org.camunda.bpm.engine.variable.VariableMap variables)
On execution, the MockProcess will set the given VariableMap to the execution
(ATTENTION: This means all current process variables are replaced with the given Map!)
|
CallActivityMock |
CallActivityMock.onExecutionWaitForMessage(String message)
On execution, the MockProcess will wait for the given message
|
CallActivityMock |
CallActivityMock.onExecutionWaitForTimerWithDate(Date date)
On execution, the MockProcess will wait on a timer which is configured with an date
|
CallActivityMock |
CallActivityMock.onExecutionWaitForTimerWithDate(String iso8601date)
On execution, the MockProcess will wait on a timer which is configured with an ISO 8601 date.
|
CallActivityMock |
CallActivityMock.onExecutionWaitForTimerWithDuration(String iso8601duration)
On execution, the MockProcess will wait on a timer which is configured with an ISO 8601 duration.
|
Copyright © 2018 camunda services GmbH. All rights reserved.