3 t                C  5 5    C E E E  I M M M   M T  X   X      X X! C" I# I$%& ' M() *+,- ./logLorg/apache/log4j/Logger;()VCodeLineNumberTableLocalVariableTablethis'Lorg/dspace/checker/DailyReportEmailer; sendReport(Ljava/io/File;I)VhostnameLjava/lang/String;emailLorg/dspace/core/Email; attachmentLjava/io/File;numberOfBitstreamsI StackMapTable Exceptionsmain([Ljava/lang/String;)Ve'Lorg/apache/commons/cli/ParseException;myhelp&Lorg/apache/commons/cli/HelpFormatter; numBitstreams dirLocation directoryLjava/lang/Exception;args[Ljava/lang/String;parser*Lorg/apache/commons/cli/CommandLineParser;line$Lorg/apache/commons/cli/CommandLine;options Lorg/apache/commons/cli/Options;reporter2Lorg/dspace/checker/service/SimpleReporterService;emailercalendarLjava/util/GregorianCalendar; yesterdayLjava/util/Date;tomorrowreportwriterLjava/io/FileWriter;contextLorg/dspace/core/Context;01234%5 SourceFileDailyReportEmailer.java wxdspace.hostname6 78org/dspace/core/Emailjava/lang/StringBuilderChecksum checker Report - 9: 9;* Bitstreams found with POSSIBLE issues on <= >?report is attached ... @?checksum_checker_report.txt AB mail.admin C? Dx"org/apache/commons/cli/PosixParserorg/apache/commons/cli/OptionshhelpHelp EFdDeleted>Send E-mail report for all bitstreams set as deleted for todaymMissingGSend E-mail report for all bitstreams not found in assetstore for todaycChangedOSend E-mail report for all bitstreams where checksum has been changed for todayaAllSend all E-mail reportsu Unchecked#Send the Unchecked bitstream reportn Not ProcessedJSend E-mail report for all bitstreams set to longer be processed for today0 GH%org/apache/commons/cli/ParseException uvI JKL MN1 OP$org/apache/commons/cli/HelpFormatterChecksum Reporter QR ST; Send Deleted bitstream email report: DailyReportEmailer -dU V?< Send Missing bitstreams email report: DailyReportEmailer -m: Send Checksum Changed email report: DailyReportEmailer -cG Send bitstream not to be processed email report: DailyReportEmailer -n8 Send Un-checked bitstream report: DailyReportEmailer -u+ Send All email reports: DailyReportEmailerW XY Z[%org/dspace/checker/DailyReportEmailerjava/util/GregorianCalendar \] ^_org/dspace/core/Context` cd welog.report.dir java/io/File w? fg hgchecker_report.txt ijjava/lang/IllegalStateException directory : does not existjava/io/FileWriter wk Ol mnM --------------------------------- Begin Reporting ------------------------ o?2 pqN --------------------------------- Report Spacer --------------------------- rq sq tq uvK --------------------------------- End Report --------------------------- wx xx ~ yg zxjava/lang/ExceptionCould not close writer J{ |gUnable to delete report file }Kjavax/mail/MessagingExceptionjava/sql/SQLExceptionjava/io/IOException ~java/lang/Object(org/apache/commons/cli/CommandLineParser"org/apache/commons/cli/CommandLine0org/dspace/checker/service/SimpleReporterServicejava/util/Datejava/lang/Stringjava/lang/Throwable$org/dspace/core/ConfigurationManager getProperty&(Ljava/lang/String;)Ljava/lang/String;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;(I)Ljava/lang/StringBuilder;toString()Ljava/lang/String; setSubject(Ljava/lang/String;)V setContent addAttachment#(Ljava/io/File;Ljava/lang/String;)V addRecipientsend addOptionY(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Lorg/apache/commons/cli/Options;parseY(Lorg/apache/commons/cli/Options;[Ljava/lang/String;)Lorg/apache/commons/cli/CommandLine;org/apache/log4j/Loggerfatal(Ljava/lang/Object;)Vjava/lang/Systemexit(I)V hasOption(C)Z printHelp5(Ljava/lang/String;Lorg/apache/commons/cli/Options;)VoutLjava/io/PrintStream;java/io/PrintStreamprintln0org/dspace/checker/factory/CheckerServiceFactory getInstance4()Lorg/dspace/checker/factory/CheckerServiceFactory;getSimpleReporterService4()Lorg/dspace/checker/service/SimpleReporterService;add(II)VgetTime()Ljava/util/Date;org/dspace/core/Context$ModeMode InnerClasses READ_ONLYLorg/dspace/core/Context$Mode;!(Lorg/dspace/core/Context$Mode;)Vexists()Z isDirectorycreateTempFileB(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File;(Ljava/io/File;)V(Ljava/lang/String;)Z getOptions"()[Lorg/apache/commons/cli/Option;writegetDeletedBitstreamReportX(Lorg/dspace/core/Context;Ljava/util/Date;Ljava/util/Date;Ljava/io/OutputStreamWriter;)IgetChangedChecksumReportgetBitstreamNotFoundReportgetNotToBeProcessedReportgetUncheckedBitstreamsReport8(Lorg/dspace/core/Context;Ljava/io/OutputStreamWriter;)IflushcloseisValidabort*(Ljava/lang/Object;Ljava/lang/Throwable;)Vdeleteerror getLogger,(Ljava/lang/Class;)Lorg/apache/log4j/Logger;!Ct uvwxy3*z 01{ |}~ySQNY:Y   - +z& AC DE4F;GCHMIRK{4 H?S|}SSRrp yt(YLMYN-W-W- !"W-#$%W-&'(W-)*+W-,-.W+-*/M:123,h4H5Y6:7-89:;9<;9=;9>;9?;9@;3AB:CYD:EYF:GH:GH:: : : IYJK: 6 L: MY N:OPQRS: $TYYU  V WXY Y: ,&Z ,[ \]   ^`6  _]   ``6  _]   a`6  _]   b`6  _]   c`6  d] e f  g,Z1 \]   ^`6  e f  g, Z1 \]   a`6  e f  g,#Z1 \]   ``6  e f  g,,Z1 \]   b`6  e f  g,)Z- \]   c`6  e f  g  h i  f: 1k l  O m1no: 1 2  h i  f: 1k l k Oc m[1noP:  h i  f:1kl  O m 1no for0QVYj:p:q:rj:jz:ef ikl&m*o2p6r>sBxNzZ}b~fort|  %0@Noz+48;OTYbkor   ',1:&G(L*Q.V3Y0[2e6r8z:!#&(*.30268:&(*.30268:'>{t < % 0 [    (  RI}@1"     r M 66662L _L _L  xy! Cs1z*b Ia@