org.camunda.bpm.engine.migration
Interface MigrationPlanBuilder
- All Known Implementing Classes:
- MigrationPlanBuilderImpl
public interface MigrationPlanBuilder
- Author:
- Thorben Lindhauer
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)
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.