hudson.plugins.rubyMetrics.rcov
Class RcovPublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.plugins.rubyMetrics.AbstractRubyMetricsPublisher
              extended by hudson.plugins.rubyMetrics.HtmlPublisher
                  extended by hudson.plugins.rubyMetrics.rcov.RcovPublisher
All Implemented Interfaces:
hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class RcovPublisher
extends HtmlPublisher

Rcov Publisher

Author:
David Calavera

Nested Class Summary
static class RcovPublisher.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
static RcovPublisher.DescriptorImpl DESCRIPTOR
          Descriptor should be singleton.
 
Fields inherited from class hudson.plugins.rubyMetrics.HtmlPublisher
reportDir
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
RcovPublisher(java.lang.String reportDir)
           
 
Method Summary
 hudson.model.Descriptor<hudson.tasks.Publisher> getDescriptor()
           
 hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
          
 java.util.List<MetricTarget> getTargets()
           
 boolean perform(hudson.model.Build<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
          
 void setTargets(java.util.List<MetricTarget> targets)
           
 
Methods inherited from class hudson.plugins.rubyMetrics.HtmlPublisher
getCoverageFiles, getReportDir, moveReportsToBuildRootDir, prepareMetricsReportBeforeParse
 
Methods inherited from class hudson.plugins.rubyMetrics.AbstractRubyMetricsPublisher
fail
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
perform, prebuild
 

Field Detail

DESCRIPTOR

public static final RcovPublisher.DescriptorImpl DESCRIPTOR
Descriptor should be singleton.

Constructor Detail

RcovPublisher

@DataBoundConstructor
public RcovPublisher(java.lang.String reportDir)
Method Detail

perform

public boolean perform(hudson.model.Build<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws java.lang.InterruptedException,
                       java.io.IOException

Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
java.lang.InterruptedException
java.io.IOException

getProjectAction

public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)

Specified by:
getProjectAction in interface hudson.tasks.BuildStep
Overrides:
getProjectAction in class hudson.tasks.BuildStepCompatibilityLayer

getTargets

public java.util.List<MetricTarget> getTargets()

setTargets

public void setTargets(java.util.List<MetricTarget> targets)

getDescriptor

public hudson.model.Descriptor<hudson.tasks.Publisher> getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Publisher


Copyright © 2009. All Rights Reserved.