use of org.camunda.bpm.engine.impl.migration.instance.MigratingInstance in project camunda-bpm-platform by camunda.
the class VariableConflictActivityInstanceValidator method getMigratingVariableInstancesByName.
protected Map<String, List<MigratingVariableInstance>> getMigratingVariableInstancesByName(MigratingActivityInstance activityInstance) {
Map<String, List<MigratingVariableInstance>> result = new HashMap<String, List<MigratingVariableInstance>>();
for (MigratingInstance migratingInstance : activityInstance.getMigratingDependentInstances()) {
if (migratingInstance instanceof MigratingVariableInstance) {
MigratingVariableInstance migratingVariableInstance = (MigratingVariableInstance) migratingInstance;
CollectionUtil.addToMapOfLists(result, migratingVariableInstance.getVariableName(), migratingVariableInstance);
}
}
return result;
}
Aggregations