hudson.plugins.warnings.parser
Class FileWarningsParser
java.lang.Object
hudson.plugins.warnings.parser.FileWarningsParser
- All Implemented Interfaces:
- hudson.plugins.analysis.core.AnnotationParser, java.io.Serializable
public class FileWarningsParser
- extends java.lang.Object
- implements hudson.plugins.analysis.core.AnnotationParser
A WarningsParser that scans files.
- Author:
- Ulli Hafner
- See Also:
- Serialized Form
|
Constructor Summary |
FileWarningsParser(java.util.Set<java.lang.String> parserNames,
java.lang.String defaultEncoding,
java.lang.String includePattern,
java.lang.String excludePattern)
Creates a new instance of FileWarningsParser. |
|
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 |
FileWarningsParser
public FileWarningsParser(java.util.Set<java.lang.String> parserNames,
java.lang.String defaultEncoding,
java.lang.String includePattern,
java.lang.String excludePattern)
- Creates a new instance of
FileWarningsParser.
- Parameters:
parserNames - the parsers to scan the files withdefaultEncoding - the default encoding to be used when reading and parsing filesincludePattern - ant file-set pattern of files to include in reportexcludePattern - ant file-set pattern of files to exclude from report
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.