use of org.talend.designer.core.model.utils.emf.talendfile.impl.ElementParameterTypeImpl in project tdi-studio-se by Talend.
the class AddConnectionVersionForJobsettingMigrationTask method setParameterValue.
private void setParameterValue(EList elementParameter, String paramName, String paramValue) {
for (int i = 0; i < elementParameter.size(); i++) {
final Object object = elementParameter.get(i);
if (object instanceof ElementParameterTypeImpl) {
ElementParameterTypeImpl parameterType = (ElementParameterTypeImpl) object;
String name = parameterType.getName();
if (paramName.equals(name)) {
parameterType.setValue(paramValue);
}
}
}
}
Aggregations