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 instructionsA migration plan can include variables which will be set into the process instance scope after the migration.
- Author:
- Thorben Lindhauer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<MigrationInstruction>
getInstructions()
java.lang.String
getSourceProcessDefinitionId()
java.lang.String
getTargetProcessDefinitionId()
VariableMap
getVariables()
-
-
-
Method Detail
-
getInstructions
java.util.List<MigrationInstruction> getInstructions()
- Returns:
- the list of instructions that this plan consists of
-
getSourceProcessDefinitionId
java.lang.String getSourceProcessDefinitionId()
- Returns:
- the id of the process definition that is migrated from
-
getTargetProcessDefinitionId
java.lang.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
-
-