Class VariableConflictActivityInstanceValidator
java.lang.Object
org.camunda.bpm.engine.impl.migration.validation.instance.VariableConflictActivityInstanceValidator
- All Implemented Interfaces:
MigratingActivityInstanceValidator
public class VariableConflictActivityInstanceValidator
extends Object
implements MigratingActivityInstanceValidator
Validates that when an activity instance has a variable with the same name twice (as a scope execution variable and a
a concurrent variable parent execution variable), no situation occurs in which either one is overwritten.
- Author:
- Thorben Lindhauer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Map<String,
List<MigratingVariableInstance>> getMigratingVariableInstancesByName
(MigratingActivityInstance activityInstance) void
validate
(MigratingActivityInstance migratingInstance, MigratingProcessInstance migratingProcessInstance, MigratingActivityInstanceValidationReportImpl instanceReport)
-
Constructor Details
-
VariableConflictActivityInstanceValidator
public VariableConflictActivityInstanceValidator()
-
-
Method Details
-
validate
public void validate(MigratingActivityInstance migratingInstance, MigratingProcessInstance migratingProcessInstance, MigratingActivityInstanceValidationReportImpl instanceReport) - Specified by:
validate
in interfaceMigratingActivityInstanceValidator
-
getMigratingVariableInstancesByName
protected Map<String,List<MigratingVariableInstance>> getMigratingVariableInstancesByName(MigratingActivityInstance activityInstance)
-