Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.core.io.report.impl
Class DefaultIOReporter

java.lang.Object
  extended by eu.esdihumboldt.hale.common.core.report.impl.DefaultReporter<IOMessage>
      extended by 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

Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.common.core.report.impl.DefaultReporter
log
 
Constructor Summary
DefaultIOReporter(Locatable target, String taskName, boolean doLog)
          Create an empty I/O report.
 
Method Summary
 Locatable getTarget()
          Get the locatable I/O task target
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.report.Reporter
setStartTime, setSuccess, setSummary, setTimestamp
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.report.ReportLog
error, info, warn
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.report.Report
getErrors, getInfos, getMessageType, getStartTime, getSummary, getTaskName, getTimestamp, getWarnings, isSuccess
 

Constructor Detail

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 target
taskName - the name of the task the report is related to
doLog - if added messages shall also be logged using ALogger
See Also:
DefaultReporter.DefaultReporter(String, Class, boolean)
Method Detail

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()

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d