public class SimpleReporterImpl extends Object implements SimpleReporter
Constructor and Description |
---|
SimpleReporterImpl()
Main Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getBitstreamNotFoundReport(Date startDate,
Date endDate,
OutputStreamWriter osw)
Send the bitstream not found report for the specified date range.
|
int |
getChangedChecksumReport(Date startDate,
Date endDate,
OutputStreamWriter osw)
Send the checksum changed report for the specified date range.
|
int |
getDeletedBitstreamReport(Date startDate,
Date endDate,
OutputStreamWriter osw)
Sends the Deleted bitstream report to an administrator. for the
specified date range.
|
int |
getNotToBeProcessedReport(Date startDate,
Date endDate,
OutputStreamWriter osw)
Send the bitstreams that were set to not be processed report for the
specified date range.
|
int |
getUncheckedBitstreamsReport(OutputStreamWriter osw)
Get any bitstreams that are not checked by the checksum checker.
|
public int getDeletedBitstreamReport(Date startDate, Date endDate, OutputStreamWriter osw) throws IOException
getDeletedBitstreamReport
in interface SimpleReporter
startDate
- the start date for the rangeendDate
- the end date for the rangeosw
- the output stream writer to write to.IOException
- if io error occurspublic int getChangedChecksumReport(Date startDate, Date endDate, OutputStreamWriter osw) throws IOException
getChangedChecksumReport
in interface SimpleReporter
startDate
- the start date for the rangeendDate
- the end date for the rangeosw
- the output stream writer to write to.IOException
- if io error occurspublic int getBitstreamNotFoundReport(Date startDate, Date endDate, OutputStreamWriter osw) throws IOException
getBitstreamNotFoundReport
in interface SimpleReporter
startDate
- the start date for the range.endDate
- the end date for the range.osw
- the output stream writer to write to.IOException
- if io error occurspublic int getNotToBeProcessedReport(Date startDate, Date endDate, OutputStreamWriter osw) throws IOException
getNotToBeProcessedReport
in interface SimpleReporter
startDate
- the start date for the rangeendDate
- the end date for the rangeosw
- the output stream writer to write to.IOException
- if io error occurspublic int getUncheckedBitstreamsReport(OutputStreamWriter osw) throws IOException
getUncheckedBitstreamsReport
in interface SimpleReporter
osw
- the OutputStreamWriter to write toIOException
- if io error occursCopyright © 2016 DuraSpace. All Rights Reserved.