hudson.plugins.findbugs.util
Class FilesParser
java.lang.Object
hudson.plugins.findbugs.util.FilesParser
- All Implemented Interfaces:
- hudson.FilePath.FileCallable<ParserResult>, java.io.Serializable
public class FilesParser
- extends java.lang.Object
- implements hudson.FilePath.FileCallable<ParserResult>
Parses files that match the specified pattern and creates a
corresponding project with a collection of annotations.
- Author:
- Ulli Hafner
- See Also:
- Serialized Form
|
Constructor Summary |
FilesParser(java.io.PrintStream logger,
java.lang.String filePattern,
AnnotationParser parser,
boolean isMavenBuild,
boolean isAntBuild)
Creates a new instance of CheckstyleCollector. |
|
Method Summary |
ParserResult |
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 |
FilesParser
public FilesParser(java.io.PrintStream logger,
java.lang.String filePattern,
AnnotationParser parser,
boolean isMavenBuild,
boolean isAntBuild)
- Creates a new instance of
CheckstyleCollector.
- Parameters:
logger - the loggerfilePattern - ant file-set pattern to scan for files to parseparser - the parser to apply on the found filesisMavenBuild - determines whether this build uses mavenisAntBuild - determines whether this build uses maven
log
protected void log(java.lang.String message)
- Logs the specified message.
- Parameters:
message - the message
invoke
public ParserResult invoke(java.io.File workspace,
hudson.remoting.VirtualChannel channel)
throws java.io.IOException
-
- Specified by:
invoke in interface hudson.FilePath.FileCallable<ParserResult>
- Throws:
java.io.IOException
Copyright © 2008. All Rights Reserved.