use of org.eclipse.winery.model.tosca.yaml.support.YTMapObject in project winery by eclipse.
the class YamlBuilder method buildMapObjectValue.
@Nullable
public YTMapObject buildMapObjectValue(Object object, Parameter<YTMapObject> parameter) {
if (Objects.isNull(object)) {
return null;
}
YTMapObject result = new YTMapObject();
put(result, stringValue(parameter.getValue()), object);
return result;
}
Aggregations