private void printPoolRecommendations(List<Recommendation> poolRecommendations){
  StringBuffer buf=new StringBuffer();
  buf.append(String.format("%n Recommended Pools: %n"));
  for (  Recommendation poolRec : poolRecommendations) {
    StoragePool pool=dbClient.queryObject(StoragePool.class,poolRec.getSourceStoragePool());
    buf.append(String.format("Storage Pool : [%s] - Free Capacity : [%s] KB %n",pool.getLabel(),pool.getFreeCapacity()));
  }
  buf.append(String.format("---------------------------------------- %n"));
  _log.info(buf.toString());
}

private void printPoolRecommendations ( List < Recommendation > poolRecommendations ) { StringBuffer buf = new StringBuffer ( ) ; buf . append ( String . format ( "%n Recommended Pools: %n" ) ) ; for ( Recommendation poolRec : poolRecommendations ) { StoragePool pool = dbClient . queryObject ( StoragePool . class , poolRec . getSourceStoragePool ( ) ) ; buf . append ( String . format ( "Storage Pool : [%s] - Free Capacity : [%s] KB %n" , pool . getLabel ( ) , pool . getFreeCapacity ( ) ) ) ; } buf . append ( String . format ( "---------------------------------------- %n" ) ) ; _log . info ( buf . toString ( ) ) ; }
display storage pool information from recommendation
