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