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