Package org.camunda.bpm.engine.migration
Interface MigrationPlan
- All Known Implementing Classes:
MigrationPlanImpl
public interface MigrationPlan
Specifies how process instances from one process definition (the source process definition) should be migrated to another process definition (the target process definition).
A migration plan consists of a number of MigrationInstruction
s that tell which
activity maps to which. The set of instructions is complete, i.e. the migration logic does not perform
migration steps that are not given by the instructions
A migration plan can include variables which will be set into the process instance scope after the migration.
- Author:
- Thorben Lindhauer
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getInstructions
List<MigrationInstruction> getInstructions()- Returns:
- the list of instructions that this plan consists of
-
getSourceProcessDefinitionId
String getSourceProcessDefinitionId()- Returns:
- the id of the process definition that is migrated from
-
getTargetProcessDefinitionId
String getTargetProcessDefinitionId()- Returns:
- the id of the process definition that is migrated to
-
getVariables
VariableMap getVariables()- Returns:
- the variables to be set after the migration to the process instances' scope
-