static void exportMaskUpdate(ExportMask exportMask,Map<URI,Integer> volumeMap,List<Initiator> initiators,List<URI> targets){
  if (volumeMap != null) {
    for (    URI volume : volumeMap.keySet()) {
      exportMask.addVolume(volume,volumeMap.get(volume));
    }
  }
  if (initiators != null) {
    for (    Initiator initiator : initiators) {
      exportMask.addInitiator(initiator);
    }
  }
  if (targets != null) {
    for (    URI target : targets) {
      exportMask.addTarget(target);
    }
  }
}

static void exportMaskUpdate ( ExportMask exportMask , Map < URI , Integer > volumeMap , List < Initiator > initiators , List < URI > targets ) { if ( volumeMap != null ) { for ( URI volume : volumeMap . keySet ( ) ) { exportMask . addVolume ( volume , volumeMap . get ( volume ) ) ; } } if ( initiators != null ) { for ( Initiator initiator : initiators ) { exportMask . addInitiator ( initiator ) ; } } if ( targets != null ) { for ( URI target : targets ) { exportMask . addTarget ( target ) ; } } }
adds the volumes , initiators , and targets to an exportmask .
