|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.findbugs.parser.FindBugsParser
public class FindBugsParser
A parser for FindBugs XML files.
| Constructor Summary | |
|---|---|
FindBugsParser(hudson.FilePath workspace,
boolean autoInitializeFindBugs)
Creates a new instance of FindBugsParser. |
|
FindBugsParser(hudson.FilePath workspace,
boolean autoInitializeFindBugs,
java.util.List<java.lang.String> sourceFolders)
Creates a new instance of FindBugsParser. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of this parser. |
java.util.Collection<FileAnnotation> |
parse(java.io.File file,
java.lang.String moduleName)
Returns the annotations found in the specified file. |
java.util.Collection<FileAnnotation> |
parse(java.io.InputStream file,
java.lang.String moduleName)
Returns the annotations found in the specified file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FindBugsParser(hudson.FilePath workspace,
boolean autoInitializeFindBugs)
FindBugsParser.
workspace - the workspace folder to be used as basis for source code
mappingautoInitializeFindBugs - determines whether we need to initialize FindBugs or not
public FindBugsParser(hudson.FilePath workspace,
boolean autoInitializeFindBugs,
java.util.List<java.lang.String> sourceFolders)
FindBugsParser.
workspace - the workspace folder to be used as basis for source code
mappingautoInitializeFindBugs - determines whether we need to initialize FindBugs or not| Method Detail |
|---|
public java.lang.String getName()
getName in interface AnnotationParser
public java.util.Collection<FileAnnotation> parse(java.io.File file,
java.lang.String moduleName)
throws java.lang.reflect.InvocationTargetException
parse in interface AnnotationParserfile - the file to parsemoduleName - name of the maven module
java.lang.reflect.InvocationTargetException - if the file could not be parsed (wrap your exception in this exception)
public java.util.Collection<FileAnnotation> parse(java.io.InputStream file,
java.lang.String moduleName)
throws java.lang.reflect.InvocationTargetException
parse in interface AnnotationParserfile - the file to parsemoduleName - name of the maven module
java.lang.reflect.InvocationTargetException - if the file could not be parsed (wrap your exception in this exception)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||