Class MigrationPlanBuilderImpl

    • Field Detail

      • sourceProcessDefinitionId

        protected String sourceProcessDefinitionId
      • targetProcessDefinitionId

        protected String targetProcessDefinitionId
      • mapEqualActivities

        protected boolean mapEqualActivities
      • updateEventTriggersForGeneratedInstructions

        protected boolean updateEventTriggersForGeneratedInstructions
    • Constructor Detail

      • MigrationPlanBuilderImpl

        public MigrationPlanBuilderImpl​(CommandExecutor commandExecutor,
                                        String sourceProcessDefinitionId,
                                        String targetProcessDefinitionId)
    • Method Detail

      • mapEqualActivities

        public MigrationInstructionsBuilder mapEqualActivities()
        Description copied from interface: MigrationPlanBuilder
        Automatically adds a set of instructions for activities that are equivalent in both process definitions. By default, this is given if two activities are both user tasks, are on the same level of sub process, and have the same id.
        Specified by:
        mapEqualActivities in interface MigrationPlanBuilder
      • updateEventTrigger

        public MigrationInstructionBuilder updateEventTrigger()
        Description copied from interface: MigrationInstructionBuilder

        If the current instruction maps between event-receiving flow nodes that rely on a persistent event trigger, this method can be used to determine whether the event trigger should be updated during migration

        For example, when mapping a message catch event waiting for message A to another message catch waiting for message B, using this option updates the message trigger to B during migration. That means, after migration this process instance can be correlated to using B. If this option is not used, then the message trigger is not updated and A is the message to be received after migration.

        Event-receiving flow nodes are:

        • intermediate events (signal, message, timer)
        • boundary events (signal, message, timer)
        • start events (signal, message, timer)
        • receive tasks

        For other flow nodes, this option must not be used and if so, results in a validation exception when the plan is created

        Specified by:
        updateEventTrigger in interface MigrationInstructionBuilder
        Returns:
        this builder
      • getSourceProcessDefinitionId

        public String getSourceProcessDefinitionId()
      • getTargetProcessDefinitionId

        public String getTargetProcessDefinitionId()
      • isMapEqualActivities

        public boolean isMapEqualActivities()
      • isUpdateEventTriggersForGeneratedInstructions

        public boolean isUpdateEventTriggersForGeneratedInstructions()