eu.esdihumboldt.hale.common.core.io.report.impl
Class DefaultIOReporter
java.lang.Object
eu.esdihumboldt.hale.common.core.report.impl.DefaultReporter<IOMessage>
eu.esdihumboldt.hale.common.core.io.report.impl.DefaultIOReporter
- All Implemented Interfaces:
- IOReport, IOReporter, Report<IOMessage>, Reporter<IOMessage>, ReportLog<IOMessage>
public class DefaultIOReporter
- extends DefaultReporter<IOMessage>
- implements IOReporter
Default I/O report implementation
- Since:
- 2.5
- Author:
- Simon Templer
- Partner:
- 01 / Fraunhofer Institute for Computer Graphics Research
Fields inherited from class eu.esdihumboldt.hale.common.core.report.impl.DefaultReporter |
log |
Methods inherited from class eu.esdihumboldt.hale.common.core.report.impl.DefaultReporter |
error, getErrors, getFailSummary, getInfos, getMessageType, getStartTime, getSuccessSummary, getSummary, getTaskName, getTimestamp, getWarnings, info, isSuccess, setStartTime, setSuccess, setSummary, setTimestamp, toString, warn |
DefaultIOReporter
public DefaultIOReporter(Locatable target,
String taskName,
boolean doLog)
- Create an empty I/O report. It is set to not successful by default. But
you should call
DefaultReporter.setSuccess(boolean)
nonetheless to update the
timestamp after the task has finished.
- Parameters:
target
- the locatable targettaskName
- the name of the task the report is related todoLog
- if added messages shall also be logged using ALogger
- See Also:
DefaultReporter.DefaultReporter(String, Class, boolean)
getTarget
public Locatable getTarget()
- Description copied from interface:
IOReport
- Get the locatable I/O task target
- Specified by:
getTarget
in interface IOReport
- Returns:
- the locatable target
- See Also:
IOReport.getTarget()
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d