hudson.plugins.jacoco.portlet.grid
Class JacocoBuilderGrid

java.lang.Object
  extended by hudson.plugins.view.dashboard.DashboardPortlet
      extended by hudson.plugins.jacoco.portlet.grid.JacocoBuilderGrid
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.plugins.view.dashboard.DashboardPortlet>, hudson.model.ModelObject

public class JacocoBuilderGrid
extends hudson.plugins.view.dashboard.DashboardPortlet

A portlet for JaCoCo Coverage results - Grid data.

See Also:
http://wiki.hudson-ci.org/display/HUDSON/Dashboard+View

Nested Class Summary
static class JacocoBuilderGrid.JacocoGridDescriptor
          Descriptor that will be shown on Dashboard Portlets view.
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
JacocoBuilderGrid(String name)
          Constructor with grid name as parameter.
 
Method Summary
 JacocoCoverageResultSummary getJaCoCoCoverageResultSummary(Collection<hudson.model.Job> jobs)
          This method will be called by portlet.jelly to load data and create the grid.
 
Methods inherited from class hudson.plugins.view.dashboard.DashboardPortlet
all, getComparator, getDashboard, getDescriptor, getDisplayName, getId, getJob, getName, getUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JacocoBuilderGrid

@DataBoundConstructor
public JacocoBuilderGrid(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

getJaCoCoCoverageResultSummary

public JacocoCoverageResultSummary getJaCoCoCoverageResultSummary(Collection<hudson.model.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:
JacocoCoverageResultSummary a coverage result summary


Copyright © 2004-2014 Hudson. All Rights Reserved.