Humboldt Alignment Editor 2.5.0

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

java.lang.Object
  extended by eu.esdihumboldt.hale.common.core.report.impl.AbstractReportDefinition<IOReport,IOReporter>
      extended by eu.esdihumboldt.hale.common.core.io.report.impl.IOReportImplDefinition
All Implemented Interfaces:
ReportDefinition<IOReport>, ObjectDefinition<IOReport>

public class IOReportImplDefinition
extends AbstractReportDefinition<IOReport,IOReporter>

Object definition for IOReporter.

Author:
Andreas Burchert
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Field Summary
static String KEY_IOREPORT_TARGET
          Key for target
 
Fields inherited from class eu.esdihumboldt.hale.common.core.report.impl.AbstractReportDefinition
KEY_REPORT_ERRORS, KEY_REPORT_INFOS, KEY_REPORT_MESSAGE_TYPE, KEY_REPORT_STARTTIME, KEY_REPORT_SUCCESS, KEY_REPORT_SUMMARY, KEY_REPORT_TASKNAME, KEY_REPORT_TIME, KEY_REPORT_WARNINGS
 
Fields inherited from interface eu.esdihumboldt.hale.common.core.report.ReportDefinition
ID_PREFIX
 
Constructor Summary
IOReportImplDefinition()
          Constructor
 
Method Summary
protected  Properties asProperties(IOReport report)
          Get a Properties representation of the given report that can be used to create a new report instance using AbstractReportDefinition.createReport(Properties).
protected  IOReport configureReport(IOReporter reporter, Properties props)
          Configure the report.
protected  IOReporter createReport(Properties props)
          Create a report from a set of properties.
 
Methods inherited from class eu.esdihumboldt.hale.common.core.report.impl.AbstractReportDefinition
asString, configureBasicReporter, getIdentifier, getObjectClass, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_IOREPORT_TARGET

public static final String KEY_IOREPORT_TARGET
Key for target

See Also:
Constant Field Values
Constructor Detail

IOReportImplDefinition

public IOReportImplDefinition()
Constructor

Method Detail

createReport

protected IOReporter createReport(Properties props)
Description copied from class: AbstractReportDefinition
Create a report from a set of properties.

Specified by:
createReport in class AbstractReportDefinition<IOReport,IOReporter>
Parameters:
props - the properties
Returns:
the report
See Also:
AbstractReportDefinition.createReport(java.util.Properties)

configureReport

protected IOReport configureReport(IOReporter reporter,
                                   Properties props)
Description copied from class: AbstractReportDefinition
Configure the report.

Specified by:
configureReport in class AbstractReportDefinition<IOReport,IOReporter>
Parameters:
reporter - report to configure
props - properties to set
Returns:
the report
See Also:
AbstractReportDefinition.configureReport(eu.esdihumboldt.hale.common.core.report.Report, java.util.Properties)

asProperties

protected Properties asProperties(IOReport report)
Description copied from class: AbstractReportDefinition
Get a Properties representation of the given report that can be used to create a new report instance using AbstractReportDefinition.createReport(Properties).

Overrides:
asProperties in class AbstractReportDefinition<IOReport,IOReporter>
Parameters:
report - the message
Returns:
the properties representing the report

Humboldt Alignment Editor 2.5.0

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