// get all the clusters that pass the predicate check
Set<Resource> resources = getResources(PropertyHelper.getReadRequest(), predicate);
for (Resource resource : resources) {
// delete all the matching clusters with the property values from the request
service.deleteCluster((String) resource.getPropertyValue(CLUSTER_NAME_PROPERTY_ID));
}
return new RequestStatusImpl(null);
}
@Override