net.sf.mavenhist.extractor.findbugs
Class FindbugsViolationsExtractor
java.lang.Object
net.sf.mavenhist.extractor.AbstractXMLValueExtractor
net.sf.mavenhist.extractor.AbstractValidatingXMLValueExtractor
net.sf.mavenhist.extractor.AbstractXPathValueExtractor
net.sf.mavenhist.extractor.findbugs.AbstractFindbugsExtractor
net.sf.mavenhist.extractor.findbugs.FindbugsViolationsExtractor
- All Implemented Interfaces:
- INamedExtractor, IValueExtractor, IXMLValueExtractor
public class FindbugsViolationsExtractor
- extends AbstractFindbugsExtractor
Extracts the number of files containing findbugs violations.
Method Summary |
String |
getName()
Gets the name of the entity. |
protected String |
getVersionXPath()
Returns the XPath to get the version of the underlying XML file. |
protected String |
getXPath(String version)
Returns the XPath to get the required value of a specified XML version. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FindbugsViolationsExtractor
public FindbugsViolationsExtractor()
getXPath
protected String getXPath(String version)
- Returns the XPath to get the required value of a specified XML version.
- Specified by:
getXPath
in class AbstractXPathValueExtractor
- Returns:
- XPath to get the required value.
getVersionXPath
protected String getVersionXPath()
- Returns the XPath to get the version of the underlying XML file.
- Overrides:
getVersionXPath
in class AbstractXPathValueExtractor
- Returns:
- XPath to get the version of the underlying XML file or
null
if no version is available.
getName
public String getName()
- Gets the name of the entity.
- Returns:
- the name.
Copyright © 2009. All Rights Reserved.