public static boolean generatePDF ( ) { String generatePDF = getProgramProperty ( GENERATE_PDF ) ; if ( generatePDF == null ) { return false ; } if ( "" . equals ( generatePDF ) ) { return true ; } return "true" . equalsIgnoreCase ( generatePDF ) ; }
Determines if we are supposed to generate a pdf of the results or not