hudson.plugins.findbugs.parser
Class FindBugsCollector
java.lang.Object
hudson.plugins.findbugs.parser.FindBugsCollector
- All Implemented Interfaces:
- hudson.FilePath.FileCallable<JavaProject>, java.io.Serializable
public class FindBugsCollector
- extends java.lang.Object
- implements hudson.FilePath.FileCallable<JavaProject>
Parses the FindBugs files that match the specified pattern and creates a
corresponding Java project with a collection of annotations.
- Author:
- Ulli Hafner
- See Also:
- Serialized Form
|
Constructor Summary |
FindBugsCollector(java.io.PrintStream listener,
java.lang.String filePattern,
boolean autoInitializeFindBugs)
Creates a new instance of FindBugsCollector. |
|
Method Summary |
JavaProject |
invoke(java.io.File workspace,
hudson.remoting.VirtualChannel channel)
|
protected void |
log(java.lang.String message)
Logs the specified message. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FindBugsCollector
public FindBugsCollector(java.io.PrintStream listener,
java.lang.String filePattern,
boolean autoInitializeFindBugs)
- Creates a new instance of
FindBugsCollector.
- Parameters:
listener - the LoggerfilePattern - ant file-set pattern to scan for FindBugs filesautoInitializeFindBugs - determines whether we need to initialize FindBugs or not
log
protected void log(java.lang.String message)
- Logs the specified message.
- Parameters:
message - the message
invoke
public JavaProject invoke(java.io.File workspace,
hudson.remoting.VirtualChannel channel)
throws java.io.IOException
-
- Specified by:
invoke in interface hudson.FilePath.FileCallable<JavaProject>
- Throws:
java.io.IOException
Copyright © 2008. All Rights Reserved.