hudson.plugins.codecover
Class CoverageReport

java.lang.Object
  extended by hudson.plugins.codecover.CoverageObject<CoverageReport>
      extended by hudson.plugins.codecover.CoverageReport

public final class CoverageReport
extends CoverageObject<CoverageReport>

Root object of the coverage report.

Author:
Kohsuke Kawaguchi

Constructor Summary
CoverageReport(CodeCoverBuildAction action)
           
 
Method Summary
 hudson.model.AbstractBuild<?,?> getBuild()
          Gets the build object that owns the whole coverage report tree.
 String getDisplayName()
           
 String getName()
           
 CoverageReport getPreviousResult()
          Gets the corresponding coverage report object in the previous run that has the record.
 void setName(String name)
           
 
Methods inherited from class hudson.plugins.codecover.CoverageObject
doGraph, getApi, getBranchCoverage, getConditionCoverage, getLoopCoverage, getStatementCoverage, hasConditionCoverage, hasStatementCoverage, isFailed, printFourCoverageColumns, printRatioCell, printRatioTable, setFailed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoverageReport

public CoverageReport(CodeCoverBuildAction action)
Method Detail

getName

public String getName()

setName

public void setName(String name)

getDisplayName

public String getDisplayName()

getPreviousResult

public CoverageReport getPreviousResult()
Description copied from class: CoverageObject
Gets the corresponding coverage report object in the previous run that has the record.

Specified by:
getPreviousResult in class CoverageObject<CoverageReport>
Returns:
null if no earlier record was found.

getBuild

public hudson.model.AbstractBuild<?,?> getBuild()
Description copied from class: CoverageObject
Gets the build object that owns the whole coverage report tree.

Specified by:
getBuild in class CoverageObject<CoverageReport>


Copyright © 2004-2011. All Rights Reserved.