Class VectorCASTBuilderGrid
- java.lang.Object
-
- hudson.plugins.view.dashboard.DashboardPortlet
-
- com.vectorcast.plugins.vectorcastcoverage.portlet.grid.VectorCASTBuilderGrid
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<hudson.plugins.view.dashboard.DashboardPortlet>
,ModelObject
public class VectorCASTBuilderGrid extends hudson.plugins.view.dashboard.DashboardPortlet
A portlet for VecctorCAST Coverage results - Grid data. See http://wiki.hudson-ci.org/display/HUDSON/Dashboard+View
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VectorCASTBuilderGrid.VecctorCASTGridDescriptor
Descriptor that will be shown on Dashboard Portlets view.-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description VectorCASTBuilderGrid(String name)
Constructor with grid name as parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorCASTCoverageResultSummary
getVectorCASTCoverageResultSummary(Collection<Job> jobs)
This method will be called by portlet.jelly to load data and create the grid.boolean
hasBasisPathCoverage(Collection<Job> jobs)
boolean
hasBranchCoverage(Collection<Job> jobs)
boolean
hasComplexity(Collection<Job> jobs)
boolean
hasFunctionCallCoverage(Collection<Job> jobs)
boolean
hasFunctionCoverage(Collection<Job> jobs)
boolean
hasMCDCCoverage(Collection<Job> jobs)
boolean
hasStatementCoverage(Collection<Job> jobs)
-
-
-
Constructor Detail
-
VectorCASTBuilderGrid
@DataBoundConstructor public VectorCASTBuilderGrid(String name)
Constructor with grid name as parameter. DataBoundConstructor annotation helps the Stapler class to find which constructor that should be used when automatically copying values from a web form to a class.- Parameters:
name
- grid name
-
-
Method Detail
-
getVectorCASTCoverageResultSummary
public VectorCASTCoverageResultSummary getVectorCASTCoverageResultSummary(Collection<Job> jobs)
This method will be called by portlet.jelly to load data and create the grid.- Parameters:
jobs
- a Collection of Job objects- Returns:
- VectorCASTCoverageResultSummary a coverage result summary
-
hasStatementCoverage
public boolean hasStatementCoverage(Collection<Job> jobs)
-
hasBranchCoverage
public boolean hasBranchCoverage(Collection<Job> jobs)
-
hasComplexity
public boolean hasComplexity(Collection<Job> jobs)
-
hasBasisPathCoverage
public boolean hasBasisPathCoverage(Collection<Job> jobs)
-
hasMCDCCoverage
public boolean hasMCDCCoverage(Collection<Job> jobs)
-
hasFunctionCoverage
public boolean hasFunctionCoverage(Collection<Job> jobs)
-
hasFunctionCallCoverage
public boolean hasFunctionCallCoverage(Collection<Job> jobs)
-
-