hudson.plugins.cobertura.renderers
Class SourceCodePainter

java.lang.Object
  extended by hudson.plugins.cobertura.renderers.SourceCodePainter
All Implemented Interfaces:
hudson.FilePath.FileCallable<Boolean>, Serializable

public class SourceCodePainter
extends Object
implements hudson.FilePath.FileCallable<Boolean>, Serializable

TODO javadoc.

Since:
31-Aug-2007 16:52:25
Author:
Stephen Connolly
See Also:
Serialized Form

Constructor Summary
SourceCodePainter(hudson.FilePath destination, Set<String> sourcePaths, Map<String,CoveragePaint> paint, hudson.model.BuildListener listener, SourceEncoding sourceEncoding)
           
 
Method Summary
 SourceEncoding getSourceEncoding()
           
 Boolean invoke(File workspaceDir, hudson.remoting.VirtualChannel channel)
          
 void paintSourceCode(File source, CoveragePaint paint, hudson.FilePath canvas)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceCodePainter

public SourceCodePainter(hudson.FilePath destination,
                         Set<String> sourcePaths,
                         Map<String,CoveragePaint> paint,
                         hudson.model.BuildListener listener,
                         SourceEncoding sourceEncoding)
Method Detail

paintSourceCode

public void paintSourceCode(File source,
                            CoveragePaint paint,
                            hudson.FilePath canvas)
                     throws IOException,
                            InterruptedException
Throws:
IOException
InterruptedException

invoke

public Boolean invoke(File workspaceDir,
                      hudson.remoting.VirtualChannel channel)
               throws IOException

Specified by:
invoke in interface hudson.FilePath.FileCallable<Boolean>
Throws:
IOException

getSourceEncoding

public SourceEncoding getSourceEncoding()


Copyright © 2004-2013 Hudson. All Rights Reserved.