Methods
Modifier and Type |
Method and Description |
protected Set<MigratingScopeInstance> |
collectLeafInstances(MigratingProcessInstance migratingProcessInstance) |
protected void |
deleteUnmappedActivityInstances(MigratingProcessInstance migratingProcessInstance)
delete unmapped instances in a bottom-up fashion (similar to deleteCascade and regular BPMN execution)
|
protected void |
ensureOperationAllowed(CommandContext commandContext,
ExecutionEntity processInstance,
ProcessDefinitionEntity targetProcessDefinition) |
protected void |
ensureProcessInstanceExist(String processInstanceId,
ExecutionEntity processInstance) |
protected void |
ensureSameProcessDefinition(ExecutionEntity processInstance,
String processDefinitionId) |
Void |
execute(CommandContext commandContext) |
protected <T> void |
executeInContext(Runnable runnable,
ProcessDefinitionEntity contextDefinition) |
Void |
migrateProcessInstance(CommandContext commandContext,
String processInstanceId,
MigrationPlan migrationPlan,
ProcessDefinitionEntity targetProcessDefinition) |
protected void |
migrateProcessInstance(MigratingProcessInstance migratingProcessInstance)
Migrate activity instances to their new activities and process definition.
|
protected MigratingActivityInstanceValidationReportImpl |
validateActivityInstance(MigratingActivityInstance migratingActivityInstance,
MigratingProcessInstance migratingProcessInstance,
List<MigratingActivityInstanceValidator> migratingActivityInstanceValidators) |
protected void |
validateCompensateSubscriptionInstance(MigratingCompensationEventSubscriptionInstance eventSubscriptionInstance,
MigratingProcessInstance migratingProcessInstance,
List<MigratingCompensationInstanceValidator> migratingTransitionInstanceValidators,
MigratingActivityInstanceValidationReportImpl instanceReport) |
protected void |
validateEventScopeInstance(MigratingEventScopeInstance eventScopeInstance,
MigratingProcessInstance migratingProcessInstance,
List<MigratingCompensationInstanceValidator> migratingTransitionInstanceValidators,
MigratingActivityInstanceValidationReportImpl instanceReport) |
protected void |
validateInstructions(CommandContext commandContext,
MigratingProcessInstance migratingProcessInstance,
MigratingProcessInstanceValidationReportImpl processInstanceReport) |
protected MigratingTransitionInstanceValidationReportImpl |
validateTransitionInstance(MigratingTransitionInstance migratingTransitionInstance,
MigratingProcessInstance migratingProcessInstance,
List<MigratingTransitionInstanceValidator> migratingTransitionInstanceValidators) |