Search in sources :

Example 1 with GetUnmanagedFilesystemsForStorageSystem

use of com.emc.sa.service.vipr.file.tasks.GetUnmanagedFilesystemsForStorageSystem in project coprhd-controller by CoprHD.

the class DiscoverUnmanagedFilesystemsService method countUnmanagedFileSystems.

private int countUnmanagedFileSystems(String storageSystem) {
    int total = 0;
    List<RelatedResourceRep> unmanaged = execute(new GetUnmanagedFilesystemsForStorageSystem(storageSystem));
    if (unmanaged != null) {
        total = unmanaged.size();
    }
    return total;
}
Also used : GetUnmanagedFilesystemsForStorageSystem(com.emc.sa.service.vipr.file.tasks.GetUnmanagedFilesystemsForStorageSystem) RelatedResourceRep(com.emc.storageos.model.RelatedResourceRep)

Aggregations

GetUnmanagedFilesystemsForStorageSystem (com.emc.sa.service.vipr.file.tasks.GetUnmanagedFilesystemsForStorageSystem)1 RelatedResourceRep (com.emc.storageos.model.RelatedResourceRep)1