uk.ac.ebi.microarray.zooma.eval
Class ReportWriterDecorator
java.lang.Object
uk.ac.ebi.microarray.zooma.eval.OntologyMappingOutcomeDecorator
uk.ac.ebi.microarray.zooma.eval.ReportWriterDecorator
- All Implemented Interfaces:
- OntologyMappingOutcome
public class ReportWriterDecorator
- extends OntologyMappingOutcomeDecorator
An outcome decorator that decorates an outcome with the ability to generate
text reports whenever the outcome is applied.
- Author:
- Tony Burdett
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportWriterDecorator
protected ReportWriterDecorator(OntologyMappingOutcome outcome)
generateTextReportOutcome
public static OntologyMappingOutcome generateTextReportOutcome(OntologyMappingOutcome outcome,
TextReportWriter reportWriter)
getReportWriter
public TextReportWriter getReportWriter()
setReportWriter
public void setReportWriter(TextReportWriter reportWriter)
apply
public void apply()
throws BadOutcomeException
- When applied, this outcome will write a report on itself to it's file.
- Specified by:
apply
in interface OntologyMappingOutcome
- Overrides:
apply
in class OntologyMappingOutcomeDecorator
- Throws:
BadOutcomeException
Copyright © 2010. All Rights Reserved.