|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.SignalEventReceivedBuilderImpl
public class SignalEventReceivedBuilderImpl
| Field Summary | |
|---|---|
protected CommandExecutor |
commandExecutor
|
protected String |
executionId
|
protected boolean |
isTenantIdSet
|
protected String |
signalName
|
protected String |
tenantId
|
protected org.camunda.bpm.engine.variable.VariableMap |
variables
|
| Constructor Summary | |
|---|---|
SignalEventReceivedBuilderImpl(CommandExecutor commandExecutor,
String signalName)
|
|
| Method Summary | |
|---|---|
SignalEventReceivedBuilder |
executionId(String executionId)
Specify a single execution to deliver the signal to. |
String |
getExecutionId()
|
String |
getSignalName()
|
String |
getTenantId()
|
org.camunda.bpm.engine.variable.VariableMap |
getVariables()
|
boolean |
isTenantIdSet()
|
void |
send()
Delivers the signal to waiting executions and process definitions. |
SignalEventReceivedBuilder |
setVariables(Map<String,Object> variables)
Add the given variables to the triggered executions. |
SignalEventReceivedBuilder |
tenantId(String tenantId)
Specify a tenant to deliver the signal to. |
SignalEventReceivedBuilder |
withoutTenantId()
Specify that the signal can only be received on executions or process definitions which belongs to no tenant. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final CommandExecutor commandExecutor
protected final String signalName
protected String executionId
protected String tenantId
protected boolean isTenantIdSet
protected org.camunda.bpm.engine.variable.VariableMap variables
| Constructor Detail |
|---|
public SignalEventReceivedBuilderImpl(CommandExecutor commandExecutor,
String signalName)
| Method Detail |
|---|
public SignalEventReceivedBuilder setVariables(Map<String,Object> variables)
SignalEventReceivedBuilder
setVariables in interface SignalEventReceivedBuildervariables - a map of variables added to the executions
public SignalEventReceivedBuilder executionId(String executionId)
SignalEventReceivedBuilder
executionId in interface SignalEventReceivedBuilderexecutionId - the id of the process instance or the execution to deliver the
signal to
public SignalEventReceivedBuilder tenantId(String tenantId)
SignalEventReceivedBuilderSignalEventReceivedBuilder.executionId(String).
tenantId in interface SignalEventReceivedBuildertenantId - the id of the tenant
public SignalEventReceivedBuilder withoutTenantId()
SignalEventReceivedBuilderSignalEventReceivedBuilder.executionId(String).
withoutTenantId in interface SignalEventReceivedBuilderpublic void send()
SignalEventReceivedBuilderDelivers the signal to waiting executions and process definitions. The notification and instantiation happen synchronously.
Note that the signal delivers to all tenants if no tenant is specified
using SignalEventReceivedBuilder.tenantId(String) or SignalEventReceivedBuilder.withoutTenantId().
send in interface SignalEventReceivedBuilderpublic String getSignalName()
public String getExecutionId()
public String getTenantId()
public boolean isTenantIdSet()
public org.camunda.bpm.engine.variable.VariableMap getVariables()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||