Interface MigrationPlan.MigrationPlanBuilderStep2

All Known Subinterfaces:
MigrationPlan.MigrationPlanBuilderFinalStep
All Known Implementing Classes:
MigrationPlanBuilderImpl
Enclosing interface:
MigrationPlan

public static interface MigrationPlan.MigrationPlanBuilderStep2
  • 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:

      
       {
         "sourceElementId": "task1",
         "targetElementId": "task2"
       }
       
      This mapping would migrate instances of the service task with id "task1" to the service task with id "task2".
      Parameters:
      sourceElementId - element to migrate
      targetElementId - element to migrate into
      Returns:
      the next step of the builder