net.sf.mavenhist.extractor.checkstyle
Class AbstractCheckstyleViolationExtractor

java.lang.Object
  extended by net.sf.mavenhist.extractor.AbstractXMLValueExtractor
      extended by net.sf.mavenhist.extractor.AbstractValidatingXMLValueExtractor
          extended by net.sf.mavenhist.extractor.AbstractXPathValueExtractor
              extended by net.sf.mavenhist.extractor.checkstyle.AbstractCheckstyleSingleValueExtractor
                  extended by net.sf.mavenhist.extractor.checkstyle.AbstractCheckstyleViolationExtractor
All Implemented Interfaces:
INamedExtractor, IValueExtractor, IXMLValueExtractor
Direct Known Subclasses:
CheckstyleAllExtractor, CheckstyleErrorExtractor, CheckstyleInfoExtractor, CheckstyleWarningExtractor

public abstract class AbstractCheckstyleViolationExtractor
extends AbstractCheckstyleSingleValueExtractor

Extracts the number of all checkstyle warnings.


Constructor Summary
AbstractCheckstyleViolationExtractor()
           
 
Method Summary
protected abstract  String getSeverity()
          Returns the severity as String.
protected  String getXPath(String version)
          XPath to extract the number of all checkstyle warnings.
 
Methods inherited from class net.sf.mavenhist.extractor.checkstyle.AbstractCheckstyleSingleValueExtractor
getValidityTestXPath
 
Methods inherited from class net.sf.mavenhist.extractor.AbstractXPathValueExtractor
extractValidatedDocument, getVersion, getVersionXPath
 
Methods inherited from class net.sf.mavenhist.extractor.AbstractValidatingXMLValueExtractor
extract, isDocumentValid
 
Methods inherited from class net.sf.mavenhist.extractor.AbstractXMLValueExtractor
extract
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.mavenhist.extractor.INamedExtractor
getName
 

Constructor Detail

AbstractCheckstyleViolationExtractor

public AbstractCheckstyleViolationExtractor()
Method Detail

getXPath

protected String getXPath(String version)
XPath to extract the number of all checkstyle warnings.

Specified by:
getXPath in class AbstractXPathValueExtractor
Returns:
XPath to extract the number of all checkstyle warnings.

getSeverity

protected abstract String getSeverity()
Returns the severity as String. If severity is given as null no filtering is done.

Returns:
the severity.


Copyright © 2009. All Rights Reserved.