public class ResultsLogger extends Object implements ChecksumResultsCollector
Collects results from a Checksum process and outputs them to a Log4j Logger.
| Constructor and Description |
|---|
ResultsLogger(Date startDt)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
collect(Context context,
MostRecentChecksum info)
Collect a result for logging.
|
protected String |
msg(String key)
Get the i18N string.
|
public ResultsLogger(Date startDt)
startDt - Date the checking run started.protected String msg(String key)
key - to get the message.public void collect(Context context, MostRecentChecksum info) throws SQLException
collect in interface ChecksumResultsCollectorcontext - Contextinfo - the BitstreamInfo representing the result.SQLException - if database errorChecksumResultsCollector.collect(org.dspace.core.Context, org.dspace.checker.MostRecentChecksum)Copyright © 2022 LYRASIS. All rights reserved.