hudson.plugins.warnings.util
Class ModuleMapper

java.lang.Object
  extended by hudson.plugins.warnings.util.ModuleMapper
All Implemented Interfaces:
hudson.FilePath.FileCallable<ParserResult>, java.io.Serializable

public class ModuleMapper
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.

Author:
Ulli Hafner
See Also:
Serialized Form

Constructor Summary
ModuleMapper(ParserResult result)
          Creates a new instance of CheckstyleCollector.
 
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
 

Constructor Detail

ModuleMapper

public ModuleMapper(ParserResult result)
Creates a new instance of CheckstyleCollector.

Parameters:
result - the annotations to assign a module for
Method Detail

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 © 2008. All Rights Reserved.