hudson.plugins.jacoco.report
Class PackageReport

java.lang.Object
  extended by hudson.plugins.jacoco.model.CoverageObject<SELF>
      extended by hudson.plugins.jacoco.report.AbstractReport<PARENT,SELF>
          extended by hudson.plugins.jacoco.report.AggregatedReport<CoverageReport,PackageReport,ClassReport>
              extended by hudson.plugins.jacoco.report.PackageReport
All Implemented Interfaces:
hudson.model.ModelObject

public final class PackageReport
extends AggregatedReport<CoverageReport,PackageReport,ClassReport>

Author:
Kohsuke Kawaguchi, David Carver

Field Summary
 
Fields inherited from class hudson.plugins.jacoco.model.CoverageObject
branch, clazz, complexity, instruction, line, maxBranch, maxClazz, maxComplexity, maxInstruction, maxLine, maxMethod, method
 
Constructor Summary
PackageReport()
           
 
Method Summary
 void add(ClassReport child)
           
 String getName()
          Give the default no-name package a non-empty name.
 void setName(String name)
           
 
Methods inherited from class hudson.plugins.jacoco.report.AggregatedReport
getChildren, getDynamic, hasChildren, hasChildrenClassCoverage, hasChildrenLineCoverage, setFailed, setParent
 
Methods inherited from class hudson.plugins.jacoco.report.AbstractReport
addCoverage, getBuild, getDisplayName, getParent, getPreviousResult
 
Methods inherited from class hudson.plugins.jacoco.model.CoverageObject
doGraph, getApi, getBranchCoverage, getClassCoverage, getComplexityScore, getInstructionCoverage, getLineCoverage, getMaxBranch, getMaxClazz, getMaxComplexity, getMaxInstruction, getMaxLine, getMaxMethod, getMethodCoverage, hasClassCoverage, hasLineCoverage, isFailed, printFourCoverageColumns, printRatioCell, printRatioTable, setAllCovTypes, setCoverage, setMaxBranch, setMaxClazz, setMaxComplexity, setMaxInstruction, setMaxLine, setMaxMethod, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PackageReport

public PackageReport()
Method Detail

getName

public String getName()
Give the default no-name package a non-empty name.

Overrides:
getName in class AbstractReport<CoverageReport,PackageReport>

setName

public void setName(String name)
Overrides:
setName in class AbstractReport<CoverageReport,PackageReport>

add

public void add(ClassReport child)
Overrides:
add in class AggregatedReport<CoverageReport,PackageReport,ClassReport>


Copyright © 2004-2014 Hudson. All Rights Reserved.