hudson.plugins.findbugs.parser
Class NativeFindBugsParser
java.lang.Object
hudson.plugins.findbugs.parser.NativeFindBugsParser
public class NativeFindBugsParser
- extends java.lang.Object
A parser for the native FindBugs XML files (ant task, batch file or
maven-findbugs-plugin >= 1.2-SNAPSHOT).
|
Method Summary |
MavenModule |
parse(java.io.InputStream file,
java.lang.String moduleRoot,
java.lang.String moduleName)
Returns the parsed FindBugs analysis file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NativeFindBugsParser
public NativeFindBugsParser()
parse
public MavenModule parse(java.io.InputStream file,
java.lang.String moduleRoot,
java.lang.String moduleName)
throws java.io.IOException,
org.dom4j.DocumentException
- Returns the parsed FindBugs analysis file. This scanner accepts files in
the native FindBugs format.
- Parameters:
file - the FindBugs analysis filemoduleRoot - the root path of the maven modulemoduleName - name of maven module
- Returns:
- the parsed result (stored in the module instance)
- Throws:
java.io.IOException - if the file could not be parsed
org.dom4j.DocumentException
Copyright © 2008. All Rights Reserved.