|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.warnings.parser.FileWarningsParser
public class FileWarningsParser
A WarningsParser that scans files.
| Constructor Summary | |
|---|---|
FileWarningsParser(java.lang.String excludePattern)
Creates a new instance of FileWarningsParser. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of this parser. |
java.util.Collection<FileAnnotation> |
parse(java.io.File file,
java.lang.String moduleName)
Returns the annotations found in the specified file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileWarningsParser(java.lang.String excludePattern)
FileWarningsParser.
excludePattern - ant file-set pattern of files to exclude from report| Method Detail |
|---|
public java.lang.String getName()
getName in interface AnnotationParser
public java.util.Collection<FileAnnotation> parse(java.io.File file,
java.lang.String moduleName)
throws java.lang.reflect.InvocationTargetException
parse in interface AnnotationParserfile - the file to parsemoduleName - name of the maven module
java.lang.reflect.InvocationTargetException - if the file could not be parsed (wrap your exception in this exception)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||