org.camunda.bpm.engine
Interface MigrationPlanBuilder

All Known Implementing Classes:
MigrationPlanBuilderImpl

public interface MigrationPlanBuilder

Author:
Thorben Lindhauer

Method Summary
 MigrationPlan build()
           
 MigrationPlanBuilder mapActivities(List<String> sourceActivityIds, List<String> targetActivityIds)
          Adds a migration instruction that maps a set of activity instances to a set of activity instances.
 MigrationPlanBuilder mapActivities(String sourceActivityId, String targetActivityId)
          Adds a migration instruction that maps activity instances of the source activity (of the source process definition) to activity instances of the target activity (of the target process definition)
 MigrationPlanBuilder mapEqualActivities()
          Automatically adds a set of instructions for activities that are equivalent in both process definitions.
 

Method Detail

mapEqualActivities

MigrationPlanBuilder mapEqualActivities()
Automatically adds a set of instructions for activities that are equivalent in both process definitions. By default, this is given if two activities are both user tasks, are on the same level of sub process, and have the same id.


mapActivities

MigrationPlanBuilder mapActivities(String sourceActivityId,
                                   String targetActivityId)
Adds a migration instruction that maps activity instances of the source activity (of the source process definition) to activity instances of the target activity (of the target process definition)


mapActivities

MigrationPlanBuilder mapActivities(List<String> sourceActivityIds,
                                   List<String> targetActivityIds)
Adds a migration instruction that maps a set of activity instances to a set of activity instances.


build

MigrationPlan build()
Returns:
a migration plan with all previously specified instructions
Throws:
MigrationPlanValidationException - if the migration plan contains instructions that are not valid


Copyright © 2016 camunda services GmbH. All rights reserved.