org.camunda.bpm.engine.migration
Interface MigrationInstructionBuilder

All Superinterfaces:
MigrationPlanBuilder
All Known Implementing Classes:
MigrationPlanBuilderImpl

public interface MigrationInstructionBuilder
extends MigrationPlanBuilder

Author:
Thorben Lindhauer

Method Summary
 MigrationInstructionBuilder updateEventTrigger()
          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
 
Methods inherited from interface org.camunda.bpm.engine.migration.MigrationPlanBuilder
build, mapActivities, mapEqualActivities
 

Method Detail

updateEventTrigger

MigrationInstructionBuilder updateEventTrigger()

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:

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

Returns:
this builder


Copyright © 2017 camunda services GmbH. All rights reserved.