Package org.flowable.engine.impl.cmd
Class RegisterProcessInstanceStartEventSubscriptionCmd
java.lang.Object
org.flowable.engine.impl.cmd.AbstractProcessStartEventSubscriptionCmd
org.flowable.engine.impl.cmd.RegisterProcessInstanceStartEventSubscriptionCmd
- All Implemented Interfaces:
Serializable,Command<org.flowable.eventsubscription.api.EventSubscription>
public class RegisterProcessInstanceStartEventSubscriptionCmd
extends AbstractProcessStartEventSubscriptionCmd
implements Command<org.flowable.eventsubscription.api.EventSubscription>, Serializable
This command creates and registers a new process start event subscription based on the provided builder information.
- Author:
- Micha Kiener
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ProcessInstanceStartEventSubscriptionBuilderImpl -
Constructor Summary
ConstructorsConstructorDescriptionRegisterProcessInstanceStartEventSubscriptionCmd(ProcessInstanceStartEventSubscriptionBuilderImpl builder) -
Method Summary
Modifier and TypeMethodDescriptionorg.flowable.eventsubscription.api.EventSubscriptionexecute(CommandContext commandContext) protected org.flowable.eventsubscription.api.EventSubscriptioninsertEventRegistryEvent(String eventDefinitionKey, boolean doNotUpdateToLatestVersionAutomatically, org.flowable.bpmn.model.StartEvent startEvent, ProcessDefinition processDefinition, String correlationKey, CommandContext commandContext) Methods inherited from class org.flowable.engine.impl.cmd.AbstractProcessStartEventSubscriptionCmd
checkEventModelCorrelationParameter, generateCorrelationConfiguration, getEventModel, getEventSubscriptionService, getLatestProcessDefinitionByKey, getProcess, getProcessDefinitionById
-
Field Details
-
builder
-
-
Constructor Details
-
RegisterProcessInstanceStartEventSubscriptionCmd
public RegisterProcessInstanceStartEventSubscriptionCmd(ProcessInstanceStartEventSubscriptionBuilderImpl builder)
-
-
Method Details
-
execute
-
insertEventRegistryEvent
protected org.flowable.eventsubscription.api.EventSubscription insertEventRegistryEvent(String eventDefinitionKey, boolean doNotUpdateToLatestVersionAutomatically, org.flowable.bpmn.model.StartEvent startEvent, ProcessDefinition processDefinition, String correlationKey, CommandContext commandContext)
-