hudson.plugins.warnings
Class AnnotationsClassifier
java.lang.Object
hudson.plugins.warnings.AnnotationsClassifier
- All Implemented Interfaces:
- hudson.FilePath.FileCallable<ParserResult>, java.io.Serializable
public class AnnotationsClassifier
- extends java.lang.Object
- implements hudson.FilePath.FileCallable<ParserResult>
Scans the workspace for maven pom.xml files and ant build.xml files and maps
all annotations to corresponding modules. Additionally, the content of each
file with warnings is read and a hash code of the warning is created to
enable a more flexible new and fixed warnings detection.
- Author:
- Ulli Hafner
- See Also:
- Serialized Form
|
Method Summary |
ParserResult |
invoke(java.io.File workspace,
hudson.remoting.VirtualChannel channel)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationsClassifier
public AnnotationsClassifier(ParserResult result,
java.lang.String defaultEncoding)
- Creates a new instance of
AnnotationsClassifier.
- Parameters:
result - the annotations to assign a module fordefaultEncoding - the default encoding to be used when reading and parsing files
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 © 2009. All Rights Reserved.