hudson.plugins.findbugs.parser
Class NativeFindBugsParser

java.lang.Object
  extended by 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).


Constructor Summary
NativeFindBugsParser()
           
 
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
 

Constructor Detail

NativeFindBugsParser

public NativeFindBugsParser()
Method Detail

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 file
moduleRoot - the root path of the maven module
moduleName - 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.