Uses of Class
io.camunda.zeebe.engine.state.deployment.DeployedProcess
Packages that use DeployedProcess
Package
Description
-
Uses of DeployedProcess in io.camunda.zeebe.engine.processing.bpmn.behavior
Methods in io.camunda.zeebe.engine.processing.bpmn.behavior that return types with arguments of type DeployedProcessModifier and TypeMethodDescriptionBpmnStateBehavior.getLatestProcessVersion(org.agrona.DirectBuffer processId, String tenantId) BpmnStateBehavior.getProcess(long processDefinitionKey, String tenantId) BpmnStateBehavior.getProcessByProcessIdAndDeploymentKey(org.agrona.DirectBuffer processId, long deploymentKey, String tenantId) BpmnStateBehavior.getProcessByProcessIdAndVersionTag(org.agrona.DirectBuffer processId, String versionTag, String tenantId) Methods in io.camunda.zeebe.engine.processing.bpmn.behavior with parameters of type DeployedProcessModifier and TypeMethodDescriptionvoidBpmnStateBehavior.copyAllVariablesToProcessInstance(long sourceScopeKey, long targetProcessInstanceKey, DeployedProcess targetProcess) voidBpmnStateBehavior.copyLocalVariablesToProcessInstance(long sourceScopeKey, long targetProcessInstanceKey, DeployedProcess targetProcess) longBpmnStateTransitionBehavior.createChildProcessInstance(DeployedProcess process, BpmnElementContext context) -
Uses of DeployedProcess in io.camunda.zeebe.engine.processing.deployment
Methods in io.camunda.zeebe.engine.processing.deployment with parameters of type DeployedProcessModifier and TypeMethodDescriptionvoidStartEventSubscriptionManager.closeStartEventSubscriptions(DeployedProcess deployedProcess) voidStartEventSubscriptionManager.openStartEventSubscriptions(DeployedProcess deployedProcess) -
Uses of DeployedProcess in io.camunda.zeebe.engine.processing.processinstance
Methods in io.camunda.zeebe.engine.processing.processinstance with parameters of type DeployedProcessModifier and TypeMethodDescriptionvoidProcessInstanceModificationModifyProcessor.executeVariableInstruction(String elementId, Long scopeKey, ElementInstance processInstance, DeployedProcess process, ProcessInstanceModificationRecordValue.ProcessInstanceModificationActivateInstructionValue activate) voidProcessInstanceMigrationCatchEventBehaviour.handleCatchEvents(ElementInstance elementInstance, DeployedProcess targetProcessDefinition, Map<String, String> sourceElementIdToTargetElementId, ProcessInstanceRecord elementInstanceRecord, String targetElementId, long processInstanceKey, String elementId) Unsubscribes the element instance from unmapped catch events in the source process, and subscribes it to unmapped catch events in the target process.static voidProcessInstanceMigrationPreconditions.requireMappedCatchEventsToStayAttachedToSameElement(long processInstanceKey, DeployedProcess sourceProcessDefinition, DeployedProcess targetProcessDefinition, String sourceElementId, String targetElementId, Map<String, String> sourceElementIdToTargetElementId) It should not be possible for a mapped element's catch events to be moved to another element.static voidProcessInstanceMigrationPreconditions.requireNoBoundaryEventInSource(DeployedProcess sourceProcessDefinition, ProcessInstanceRecord elementInstanceRecord, EnumSet<BpmnEventType> allowedEventTypes) Checks whether the given source process definition contains a boundary event.static voidProcessInstanceMigrationPreconditions.requireNoBoundaryEventInTarget(DeployedProcess targetProcessDefinition, String targetElementId, ProcessInstanceRecord elementInstanceRecord, EnumSet<BpmnEventType> allowedEventTypes) Checks whether the given target process definition contains a boundary event.static voidProcessInstanceMigrationPreconditions.requireNoCatchEventMappingToChangeEventType(long processInstanceKey, Map<String, String> mappingInstructions, DeployedProcess sourceProcessDefinition, DeployedProcess targetProcessDefinition, String sourceElementId) It should not be possible to change the event type of a catch event during process instance migration.static voidProcessInstanceMigrationPreconditions.requireNoDuplicateTargetsInCatchEventMappings(long processInstanceKey, DeployedProcess sourceProcessDefinition, String sourceElementId, Map<String, String> mappingInstructions) It should not be possible for a mapped element's catch events to be merged into a single catch event.static voidProcessInstanceMigrationPreconditions.requireNoEventSubprocessInSource(DeployedProcess sourceProcessDefinition, ProcessInstanceRecord elementInstanceRecord, EnumSet<BpmnEventType> allowedEventTypes) Checks whether the given source process definition contains an event subprocess.static voidProcessInstanceMigrationPreconditions.requireNoEventSubprocessInTarget(DeployedProcess targetProcessDefinition, String targetElementId, ProcessInstanceRecord elementInstanceRecord, EnumSet<BpmnEventType> allowedEventTypes) Checks whether the given target process definition contains an event subprocess.static voidProcessInstanceMigrationPreconditions.requireNonNullTargetProcessDefinition(DeployedProcess targetProcessDefinition, long targetProcessDefinitionKey) Checks whether the given target process definition exists.static voidProcessInstanceMigrationPreconditions.requireReferredElementsExist(DeployedProcess sourceProcessDefinition, DeployedProcess targetProcessDefinition, List<ProcessInstanceMigrationRecordValue.ProcessInstanceMigrationMappingInstructionValue> mappingInstructions, long processInstanceKey) Checks whether the given mapping instructions refer to existing elements in the source and the target process definition.static voidProcessInstanceMigrationPreconditions.requireSameElementType(DeployedProcess targetProcessDefinition, String targetElementId, ElementInstance elementInstance, long processInstanceKey) Checks whether the given element instance has the same element type as the target element.static voidProcessInstanceMigrationPreconditions.requireSameMultiInstanceLoopCharacteristics(DeployedProcess sourceProcessDefinition, String sourceElementId, DeployedProcess targetProcessDefinition, String targetElementId, long processInstanceKey) static voidProcessInstanceMigrationPreconditions.requireSameUserTaskImplementation(DeployedProcess targetProcessDefinition, String targetElementId, ElementInstance elementInstance, long processInstanceKey) Since we introduce zeebe user tasks and job worker tasks has the same bpmn element type, we need to check whether the given element instance and target element has the same user task type.static voidProcessInstanceMigrationPreconditions.requireSupportedElementType(ProcessInstanceRecord elementInstanceRecord, long processInstanceKey, DeployedProcess sourceProcessDefinition) Checks whether the given element instance is of a supported type.static voidProcessInstanceMigrationPreconditions.requireUnchangedFlowScope(ElementInstanceState elementInstanceState, ProcessInstanceRecord elementInstanceRecord, DeployedProcess targetProcessDefinition, String targetElementId) Checks whether the given element instance has the same flow scope id as the target element. -
Uses of DeployedProcess in io.camunda.zeebe.engine.state.deployment
Methods in io.camunda.zeebe.engine.state.deployment that return DeployedProcessModifier and TypeMethodDescriptionDbProcessState.getLatestProcessVersionByProcessId(org.agrona.DirectBuffer processIdBuffer, String tenantId) DbProcessState.getProcessByKeyAndTenant(long key, String tenantId) DbProcessState.getProcessByProcessIdAndDeploymentKey(org.agrona.DirectBuffer processIdBuffer, long deploymentKey, String tenantId) DbProcessState.getProcessByProcessIdAndVersion(org.agrona.DirectBuffer processId, int version, String tenantId) DbProcessState.getProcessByProcessIdAndVersionTag(org.agrona.DirectBuffer processId, String versionTag, String tenantId) -
Uses of DeployedProcess in io.camunda.zeebe.engine.state.immutable
Methods in io.camunda.zeebe.engine.state.immutable that return DeployedProcessModifier and TypeMethodDescriptionProcessState.getLatestProcessVersionByProcessId(org.agrona.DirectBuffer processId, String tenantId) ProcessState.getProcessByKeyAndTenant(long key, String tenantId) ProcessState.getProcessByProcessIdAndDeploymentKey(org.agrona.DirectBuffer processId, long deploymentKey, String tenantId) ProcessState.getProcessByProcessIdAndVersion(org.agrona.DirectBuffer processId, int version, String tenantId) ProcessState.getProcessByProcessIdAndVersionTag(org.agrona.DirectBuffer processId, String versionTag, String tenantId)