use of org.ovirt.engine.api.model.ClusterFeature in project ovirt-engine by oVirt.
the class BackendClusterFeaturesResource method list.
@Override
public ClusterFeatures list() {
ClusterFeatures features = new ClusterFeatures();
Set<AdditionalFeature> addlFeatures = BackendClusterFeatureHelper.getClusterFeatures(this, version);
addlFeatures.forEach(clusterFeature -> {
org.ovirt.engine.api.model.ClusterFeature feature = addLinks(map(clusterFeature, null));
features.getClusterFeatures().add(feature);
});
return features;
}
Aggregations