Class MigrationInstructionImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.migration.MigrationInstructionImpl
-
- All Implemented Interfaces:
MigrationInstruction
public class MigrationInstructionImpl extends Object implements MigrationInstruction
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected String
sourceActivityId
protected String
targetActivityId
protected boolean
updateEventTrigger
-
Constructor Summary
Constructors Constructor Description MigrationInstructionImpl(String sourceActivityId, String targetActivityId)
MigrationInstructionImpl(String sourceActivityId, String targetActivityId, boolean updateEventTrigger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSourceActivityId()
String
getTargetActivityId()
boolean
isUpdateEventTrigger()
void
setUpdateEventTrigger(boolean updateEventTrigger)
String
toString()
-
-
-
Method Detail
-
getSourceActivityId
public String getSourceActivityId()
- Specified by:
getSourceActivityId
in interfaceMigrationInstruction
- Returns:
- the id of the activity of the source process definition that this instruction maps instances from
-
getTargetActivityId
public String getTargetActivityId()
- Specified by:
getTargetActivityId
in interfaceMigrationInstruction
- Returns:
- the id of the activity of the target process definition that this instruction maps instances to
-
isUpdateEventTrigger
public boolean isUpdateEventTrigger()
- Specified by:
isUpdateEventTrigger
in interfaceMigrationInstruction
- Returns:
- whether this flow node's event trigger is going to be updated during
migration. Can only be true for flow nodes that define a persistent event trigger.
See
MigrationInstructionBuilder.updateEventTrigger()
for details
-
setUpdateEventTrigger
public void setUpdateEventTrigger(boolean updateEventTrigger)
-
-