hudson.plugins.findbugs.parser
Class FindBugsParser
java.lang.Object
hudson.plugins.findbugs.parser.FindBugsParser
- All Implemented Interfaces:
- hudson.plugins.analysis.core.AnnotationParser, java.io.Serializable
public class FindBugsParser
- extends java.lang.Object
- implements hudson.plugins.analysis.core.AnnotationParser
A parser for FindBugs XML files.
- Author:
- Ulli Hafner
- See Also:
- Serialized Form
|
Method Summary |
java.util.Collection<hudson.plugins.analysis.util.model.FileAnnotation> |
parse(java.io.File file,
java.lang.String moduleName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FindBugsParser
public FindBugsParser(hudson.FilePath workspace)
- Creates a new instance of
FindBugsParser.
- Parameters:
workspace - the workspace folder to be used as basis for source code
mapping
FindBugsParser
public FindBugsParser(hudson.FilePath workspace,
java.util.Collection<java.lang.String> mavenSources)
- Creates a new instance of
FindBugsParser.
- Parameters:
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.
parse
public java.util.Collection<hudson.plugins.analysis.util.model.FileAnnotation> parse(java.io.File file,
java.lang.String moduleName)
throws java.lang.reflect.InvocationTargetException
-
- Specified by:
parse in interface hudson.plugins.analysis.core.AnnotationParser
- Throws:
java.lang.reflect.InvocationTargetException
Copyright © 2010. All Rights Reserved.