net.sf.mavenhist.extractor
Interface IValueExtractor

All Superinterfaces:
INamedExtractor
All Known Implementing Classes:
AbstractCheckstyleSingleValueExtractor, AbstractCheckstyleViolationExtractor, AbstractCoberturaSingleValueExtractor, AbstractCPDDuplicatedLinesExtractor, AbstractFindbugsExtractor, AbstractJNCSSExtractor, AbstractJUnitExtractor, AbstractPMDExtractor, AbstractTestExtractor, AbstractValidatingXMLValueExtractor, AbstractXMLValueExtractor, AbstractXPathValueExtractor, CheckstyleAllExtractor, CheckstyleCheckedFilesExtractor, CheckstyleErrorExtractor, CheckstyleInfoExtractor, CheckstyleWarningExtractor, CoberturaBranchPercentageExtractor, CoberturaLinesOfCodeExtractor, CoberturaLinesPercentageExtractor, CPDDuplicatedLinesExtractor, FindbugsViolationFilesExtractor, FindbugsViolationsExtractor, JNCSSCCNExtractor, JNCSSClassesExtractor, JNCSSFunctionsExtractor, JNCSSFunctionsPerPackageExtractor, JNCSSJavadocsExtractor, JNCSSNCSSExtractor, JNCSSPackagesExtractor, JUnitErrorsExtractor, JUnitFailuresExtractor, JUnitPassrateExtractor, JUnitTestsExtractor, PMDFilesExtractor, PMDViolationsExtractor, TestErrorsExtractor, TestFailuresExtractor, TestPassrateExtractor, TestSkippedExtractor, TestTestsExtractor, TestTimeExtractor

public interface IValueExtractor
extends INamedExtractor

XML data extractor for multiple results. Is capable to return many values for different locations in the software.


Method Summary
 MultiMetric[] extract(InputStream inputStream)
          Extracts multiple values from one result document.
 
Methods inherited from interface net.sf.mavenhist.extractor.INamedExtractor
getName
 

Method Detail

extract

MultiMetric[] extract(InputStream inputStream)
                      throws ExtractionException
Extracts multiple values from one result document.

Parameters:
inputStream - stream of the read file.
Returns:
Array of metrics with the differentiated locations and values. Should never return null but may return an empty array.
Throws:
ExtractionException


Copyright © 2009. All Rights Reserved.