Class MigrationInstructionImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.migration.MigrationInstructionImpl
-
- All Implemented Interfaces:
MigrationInstruction
public class MigrationInstructionImpl extends java.lang.Object implements MigrationInstruction
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
sourceActivityId
protected java.lang.String
targetActivityId
protected boolean
updateEventTrigger
-
Constructor Summary
Constructors Constructor Description MigrationInstructionImpl(java.lang.String sourceActivityId, java.lang.String targetActivityId)
MigrationInstructionImpl(java.lang.String sourceActivityId, java.lang.String targetActivityId, boolean updateEventTrigger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSourceActivityId()
java.lang.String
getTargetActivityId()
boolean
isUpdateEventTrigger()
void
setUpdateEventTrigger(boolean updateEventTrigger)
java.lang.String
toString()
-
-
-
Constructor Detail
-
MigrationInstructionImpl
public MigrationInstructionImpl(java.lang.String sourceActivityId, java.lang.String targetActivityId)
-
MigrationInstructionImpl
public MigrationInstructionImpl(java.lang.String sourceActivityId, java.lang.String targetActivityId, boolean updateEventTrigger)
-
-
Method Detail
-
getSourceActivityId
public java.lang.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 java.lang.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)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-