Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.transformation.report.impl
Class DefaultTransformationReporter

java.lang.Object
  extended by eu.esdihumboldt.hale.common.core.report.impl.DefaultReporter<TransformationMessage>
      extended by eu.esdihumboldt.hale.common.align.transformation.report.impl.DefaultTransformationReporter
All Implemented Interfaces:
TransformationReport, TransformationReporter, Report<TransformationMessage>, Reporter<TransformationMessage>, ReportLog<TransformationMessage>

public class DefaultTransformationReporter
extends DefaultReporter<TransformationMessage>
implements TransformationReport, TransformationReporter

Reporter for transformation messages

Author:
Simon Templer

Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.common.core.report.impl.DefaultReporter
log
 
Constructor Summary
DefaultTransformationReporter(String taskName, boolean doLog)
          Create an empty report.
 
Method Summary
 
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.Report
getErrors, getInfos, getMessageType, getStartTime, getSummary, getTaskName, getTimestamp, getWarnings, isSuccess
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.report.ReportLog
error, info, warn
 

Constructor Detail

DefaultTransformationReporter

public DefaultTransformationReporter(String taskName,
                                     boolean doLog)
Create an empty 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:
taskName - the name of the task the report is related to
doLog - if added messages shall also be logged using ALogger

Humboldt Alignment Editor 2.5.0

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