Search in sources :

Example 1 with YTMapPolicyDefinition

use of org.eclipse.winery.model.tosca.yaml.support.YTMapPolicyDefinition in project winery by eclipse.

the class YamlBuilder method buildMapPolicyDefinition.

@Nullable
public YTMapPolicyDefinition buildMapPolicyDefinition(Object object, Parameter<YTMapPolicyDefinition> parameter) {
    YTMapPolicyDefinition result = new YTMapPolicyDefinition();
    put(result, parameter.getValue(), buildPolicyDefinition(object, new Parameter<>(parameter.getContext())));
    return result;
}
Also used : YTMapPolicyDefinition(org.eclipse.winery.model.tosca.yaml.support.YTMapPolicyDefinition) Nullable(org.eclipse.jdt.annotation.Nullable)

Aggregations

Nullable (org.eclipse.jdt.annotation.Nullable)1 YTMapPolicyDefinition (org.eclipse.winery.model.tosca.yaml.support.YTMapPolicyDefinition)1