|
||||||||||
| 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)
Creates a new instance of FindBugsParser. |
|
FindBugsParser(hudson.FilePath workspace,
java.util.Collection<java.lang.String> mavenSources)
Creates a new instance of FindBugsParser. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
java.util.Collection<FileAnnotation> |
parse(java.io.File 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)
FindBugsParser.
workspace - the workspace folder to be used as basis for source code
mapping
public FindBugsParser(hudson.FilePath workspace,
java.util.Collection<java.lang.String> mavenSources)
FindBugsParser.
workspace - the workspace folder to be used as basis for source code
mappingmavenSources - a collection of folders to scan for source files. If empty,
the source folders are guessed.| Method Detail |
|---|
public java.lang.String getName()
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||