Class MigrationPlanImpl

  • All Implemented Interfaces:
    MigrationPlan

    public class MigrationPlanImpl
    extends java.lang.Object
    implements MigrationPlan
    Author:
    Thorben Lindhauer
    • Field Detail

      • sourceProcessDefinitionId

        protected java.lang.String sourceProcessDefinitionId
      • targetProcessDefinitionId

        protected java.lang.String targetProcessDefinitionId
    • Constructor Detail

      • MigrationPlanImpl

        public MigrationPlanImpl​(java.lang.String sourceProcessDefinitionId,
                                 java.lang.String targetProcessDefinitionId)
    • Method Detail

      • getSourceProcessDefinitionId

        public java.lang.String getSourceProcessDefinitionId()
        Specified by:
        getSourceProcessDefinitionId in interface MigrationPlan
        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 interface MigrationPlan
        Returns:
        the id of the process definition that is migrated to
      • getVariables

        public VariableMap getVariables()
        Specified by:
        getVariables in interface MigrationPlan
        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)
      • setInstructions

        public void setInstructions​(java.util.List<MigrationInstruction> instructions)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object