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 StringsourceActivityIdprotected StringtargetActivityIdprotected booleanupdateEventTrigger
-
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 StringgetSourceActivityId()StringgetTargetActivityId()booleanisUpdateEventTrigger()voidsetUpdateEventTrigger(boolean updateEventTrigger)StringtoString()
-
-
-
Method Detail
-
getSourceActivityId
public String getSourceActivityId()
- Specified by:
getSourceActivityIdin interfaceMigrationInstruction- Returns:
- the id of the activity of the source process definition that this instruction maps instances from
-
getTargetActivityId
public String getTargetActivityId()
- Specified by:
getTargetActivityIdin interfaceMigrationInstruction- Returns:
- the id of the activity of the target process definition that this instruction maps instances to
-
isUpdateEventTrigger
public boolean isUpdateEventTrigger()
- Specified by:
isUpdateEventTriggerin 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)
-
-