Class MigrationPlanImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.migration.MigrationPlanImpl
-
- All Implemented Interfaces:
MigrationPlan
public class MigrationPlanImpl extends Object implements MigrationPlan
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected List<MigrationInstruction>
instructions
protected String
sourceProcessDefinitionId
protected String
targetProcessDefinitionId
protected VariableMap
variables
-
Constructor Summary
Constructors Constructor Description MigrationPlanImpl(String sourceProcessDefinitionId, String targetProcessDefinitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MigrationInstruction>
getInstructions()
String
getSourceProcessDefinitionId()
String
getTargetProcessDefinitionId()
VariableMap
getVariables()
void
setInstructions(List<MigrationInstruction> instructions)
void
setSourceProcessDefinitionId(String sourceProcessDefinitionId)
void
setTargetProcessDefinitionId(String targetProcessDefinitionId)
void
setVariables(VariableMap variables)
String
toString()
-
-
-
Field Detail
-
sourceProcessDefinitionId
protected String sourceProcessDefinitionId
-
targetProcessDefinitionId
protected String targetProcessDefinitionId
-
instructions
protected List<MigrationInstruction> instructions
-
variables
protected VariableMap variables
-
-
Method Detail
-
getSourceProcessDefinitionId
public String getSourceProcessDefinitionId()
- Specified by:
getSourceProcessDefinitionId
in interfaceMigrationPlan
- Returns:
- the id of the process definition that is migrated from
-
setSourceProcessDefinitionId
public void setSourceProcessDefinitionId(String sourceProcessDefinitionId)
-
getTargetProcessDefinitionId
public String getTargetProcessDefinitionId()
- Specified by:
getTargetProcessDefinitionId
in interfaceMigrationPlan
- Returns:
- the id of the process definition that is migrated to
-
getVariables
public VariableMap getVariables()
- Specified by:
getVariables
in interfaceMigrationPlan
- Returns:
- the variables to be set after the migration to the process instances' scope
-
setVariables
public void setVariables(VariableMap variables)
-
setTargetProcessDefinitionId
public void setTargetProcessDefinitionId(String targetProcessDefinitionId)
-
getInstructions
public List<MigrationInstruction> getInstructions()
- Specified by:
getInstructions
in interfaceMigrationPlan
- Returns:
- the list of instructions that this plan consists of
-
setInstructions
public void setInstructions(List<MigrationInstruction> instructions)
-
-