use of com.emc.sa.service.vipr.block.tasks.GetUnmanagedCGsForProtectionSystem in project coprhd-controller by CoprHD.
the class DiscoverUnmanagedCGsService method countUnmanagedCGs.
private int countUnmanagedCGs(String protectionSystem) {
int total = 0;
List<RelatedResourceRep> unmanaged = execute(new GetUnmanagedCGsForProtectionSystem(protectionSystem));
if (unmanaged != null) {
total = unmanaged.size();
}
return total;
}
Aggregations