hudson.plugins.findbugs.util
Class FilesParser
java.lang.Object
hudson.plugins.findbugs.util.FilesParser
- All Implemented Interfaces:
- hudson.FilePath.FileCallable<JavaProject>, java.io.Serializable
public class FilesParser
- extends java.lang.Object
- implements hudson.FilePath.FileCallable<JavaProject>
Parses the 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 |
FilesParser(java.io.PrintStream listener,
java.lang.String filePattern,
AnnotationParser parser)
Creates a new instance of CheckstyleCollector. |
|
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 |
FilesParser
public FilesParser(java.io.PrintStream listener,
java.lang.String filePattern,
AnnotationParser parser)
- Creates a new instance of
CheckstyleCollector.
- Parameters:
listener - the LoggerfilePattern - ant file-set pattern to scan for PMD filesparser - the parser to use
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.