Interface MigrationPlan.MigrationPlanBuilderStep2
- All Known Subinterfaces:
MigrationPlan.MigrationPlanBuilderFinalStep
- All Known Implementing Classes:
MigrationPlanBuilderImpl
- Enclosing interface:
MigrationPlan
public static interface MigrationPlan.MigrationPlanBuilderStep2
-
Method Summary
Modifier and TypeMethodDescriptionaddMappingInstruction(String sourceElementId, String targetElementId) Add a mapping instruction to the migration for describing how to map elements from the source process definition to the target process definition.
-
Method Details
-
addMappingInstruction
MigrationPlan.MigrationPlanBuilderFinalStep addMappingInstruction(String sourceElementId, String targetElementId) Add a mapping instruction to the migration for describing how to map elements from the source process definition to the target process definition.For example, let's consider a source process definition with a service task with id
"task1"and the target process definition with a service task with id"task2". The mapping instruction could be:
This mapping would migrate instances of the service task with id{ "sourceElementId": "task1", "targetElementId": "task2" }"task1"to the service task with id"task2".- Parameters:
sourceElementId- element to migratetargetElementId- element to migrate into- Returns:
- the next step of the builder
-