hudson.plugins.analysis.core
Class AnnotationsClassifier

java.lang.Object
  extended by 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

Constructor Summary
AnnotationsClassifier(ParserResult result, String defaultEncoding)
          Creates a new instance of AnnotationsClassifier.
 
Method Summary
 ParserResult invoke(File workspace, hudson.remoting.VirtualChannel channel)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationsClassifier

public AnnotationsClassifier(ParserResult result,
                             String defaultEncoding)
Creates a new instance of AnnotationsClassifier.

Parameters:
result - the annotations to assign a module for
defaultEncoding - the default encoding to be used when reading and parsing files
Method Detail

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.