uk.ac.ebi.microarray.zooma.eval
Class FailureReportWriterDecorator

java.lang.Object
  extended by uk.ac.ebi.microarray.zooma.eval.OntologyMappingOutcomeDecorator
      extended by uk.ac.ebi.microarray.zooma.eval.FailureReportWriterDecorator
All Implemented Interfaces:
OntologyMappingOutcome

public class FailureReportWriterDecorator
extends OntologyMappingOutcomeDecorator

Javadocs go here!

Author:
Tony Burdett

Constructor Summary
protected FailureReportWriterDecorator(OntologyMappingOutcome outcome)
           
 
Method Summary
 void apply()
          When applied, this outcome will write a report on itself to it's file.
static OntologyMappingOutcome generateTextFailureReportOutcome(OntologyMappingOutcome outcome, TextReportWriter failureReportWriter)
           
 TextReportWriter getFailureReportWriter()
           
 void setFailureReportWriter(TextReportWriter failureReportWriter)
           
 
Methods inherited from class uk.ac.ebi.microarray.zooma.eval.OntologyMappingOutcomeDecorator
getBestHypotheses, getOutcome, getUnmappedValue, isAutomaticallyAcceptable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailureReportWriterDecorator

protected FailureReportWriterDecorator(OntologyMappingOutcome outcome)
Method Detail

generateTextFailureReportOutcome

public static OntologyMappingOutcome generateTextFailureReportOutcome(OntologyMappingOutcome outcome,
                                                                      TextReportWriter failureReportWriter)

getFailureReportWriter

public TextReportWriter getFailureReportWriter()

setFailureReportWriter

public void setFailureReportWriter(TextReportWriter failureReportWriter)

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.