hudson.plugins.analysis.core
Class AnnotationsClassifier
java.lang.Object
hudson.plugins.analysis.core.AnnotationsClassifier
- All Implemented Interfaces:
- hudson.FilePath.FileCallable<ParserResult>, Serializable
public class AnnotationsClassifier
- extends Object
- implements hudson.FilePath.FileCallable<ParserResult>
Reads the content of each file with warnings and creates a unique hash code
of the warning to enable a more flexible new and fixed warnings detection.
- Author:
- Ulli Hafner
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationsClassifier
public AnnotationsClassifier(ParserResult result,
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(File workspace,
hudson.remoting.VirtualChannel channel)
throws IOException
-
- Specified by:
invoke in interface hudson.FilePath.FileCallable<ParserResult>
- Throws:
IOException
Copyright © 2004-2012 Hudson. All Rights Reserved.