Package org.camunda.bpm.engine.impl
Class SignalEventReceivedBuilderImpl
java.lang.Object
org.camunda.bpm.engine.impl.SignalEventReceivedBuilderImpl
- All Implemented Interfaces:
- SignalEventReceivedBuilder
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final CommandExecutorprotected Stringprotected booleanprotected final Stringprotected Stringprotected VariableMap
- 
Constructor SummaryConstructorsConstructorDescriptionSignalEventReceivedBuilderImpl(CommandExecutor commandExecutor, String signalName) 
- 
Method SummaryModifier and TypeMethodDescriptionexecutionId(String executionId) Specify a single execution to deliver the signal to.booleanvoidsend()Delivers the signal to waiting executions and process definitions.setVariables(Map<String, Object> variables) Add the given variables to the triggered executions.Specify a tenant to deliver the signal to.Specify that the signal can only be received on executions or process definitions which belongs to no tenant.
- 
Field Details- 
commandExecutor
- 
signalName
- 
executionId
- 
tenantId
- 
isTenantIdSetprotected boolean isTenantIdSet
- 
variables
 
- 
- 
Constructor Details- 
SignalEventReceivedBuilderImpl
 
- 
- 
Method Details- 
setVariablesDescription copied from interface:SignalEventReceivedBuilderAdd the given variables to the triggered executions.- Specified by:
- setVariablesin interface- SignalEventReceivedBuilder
- Parameters:
- variables- a map of variables added to the executions
- Returns:
- the builder
 
- 
executionIdDescription copied from interface:SignalEventReceivedBuilderSpecify a single execution to deliver the signal to.- Specified by:
- executionIdin interface- SignalEventReceivedBuilder
- Parameters:
- executionId- the id of the process instance or the execution to deliver the signal to
- Returns:
- the builder
 
- 
tenantIdDescription copied from interface:SignalEventReceivedBuilderSpecify a tenant to deliver the signal to. The signal can only be received on executions or process definitions which belongs to the given tenant. Cannot be used in combination withSignalEventReceivedBuilder.executionId(String).- Specified by:
- tenantIdin interface- SignalEventReceivedBuilder
- Parameters:
- tenantId- the id of the tenant
- Returns:
- the builder
 
- 
withoutTenantIdDescription copied from interface:SignalEventReceivedBuilderSpecify that the signal can only be received on executions or process definitions which belongs to no tenant. Cannot be used in combination withSignalEventReceivedBuilder.executionId(String).- Specified by:
- withoutTenantIdin interface- SignalEventReceivedBuilder
- Returns:
- the builder
 
- 
sendpublic void send()Description copied from interface: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)orSignalEventReceivedBuilder.withoutTenantId().- Specified by:
- sendin interface- SignalEventReceivedBuilder
 
- 
getSignalName
- 
getExecutionId
- 
getTenantId
- 
isTenantIdSetpublic boolean isTenantIdSet()
- 
getVariables
 
-