private void processFilesystemList(List<Object> filesystemList,Map<String,Object> keyMap) throws VNXFilePluginException {
  Iterator<Object> iterator=filesystemList.iterator();
  Map<String,String> volFilesystemMap=new HashMap<String,String>();
  Set<String> moverIds=new HashSet<String>();
  if (iterator.hasNext()) {
    Status status=(Status)iterator.next();
    if (status.getMaxSeverity() == Severity.OK) {
      while (iterator.hasNext()) {
        FileSystem fileSystem=(FileSystem)iterator.next();
        volFilesystemMap.put(fileSystem.getVolume(),fileSystem.getFileSystem());
        List<MoverOrVdmRef> roFileSysHosts=fileSystem.getRoFileSystemHosts();
        Iterator<MoverOrVdmRef> roFileSysHostItr=roFileSysHosts.iterator();
        while (roFileSysHostItr.hasNext()) {
          MoverOrVdmRef mover=roFileSysHostItr.next();
          moverIds.add(mover.getMover());
        }
      }
    }
 else {
      throw new VNXFilePluginException("Fault response received from XMLAPI Server.",VNXFilePluginException.ERRORCODE_INVALID_RESPONSE);
    }
  }
  keyMap.put(VNXFileConstants.MOVERLIST,moverIds);
  keyMap.put(VNXFileConstants.VOLFILESHAREMAP,volFilesystemMap);
}

private void processFilesystemList ( List < Object > filesystemList , Map < String , Object > keyMap ) throws VNXFilePluginException { Iterator < Object > iterator = filesystemList . iterator ( ) ; Map < String , String > volFilesystemMap = new HashMap < String , String > ( ) ; Set < String > moverIds = new HashSet < String > ( ) ; if ( iterator . hasNext ( ) ) { Status status = ( Status ) iterator . next ( ) ; if ( status . getMaxSeverity ( ) == Severity . OK ) { while ( iterator . hasNext ( ) ) { FileSystem fileSystem = ( FileSystem ) iterator . next ( ) ; volFilesystemMap . put ( fileSystem . getVolume ( ) , fileSystem . getFileSystem ( ) ) ; List < MoverOrVdmRef > roFileSysHosts = fileSystem . getRoFileSystemHosts ( ) ; Iterator < MoverOrVdmRef > roFileSysHostItr = roFileSysHosts . iterator ( ) ; while ( roFileSysHostItr . hasNext ( ) ) { MoverOrVdmRef mover = roFileSysHostItr . next ( ) ; moverIds . add ( mover . getMover ( ) ) ; } } } else { throw new VNXFilePluginException ( "Fault response received from XMLAPI Server." , VNXFilePluginException . ERRORCODE_INVALID_RESPONSE ) ; } } keyMap . put ( VNXFileConstants . MOVERLIST , moverIds ) ; keyMap . put ( VNXFileConstants . VOLFILESHAREMAP , volFilesystemMap ) ; }
process the filesystemlist which are received from xmlapi server .
