hudson.plugins.emma.portlet.grid
Class EmmaBuilderGrid

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

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

A portlet for Emma Coverage results - Grid data.

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

Nested Class Summary
static class EmmaBuilderGrid.EmmaGridDescriptor
          Descriptor that will be shown on Dashboard Portlets view.
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
EmmaBuilderGrid(String name)
          Constructor with grid name as parameter.
 
Method Summary
 EmmaCoverageResultSummary getEmmaCoverageResultSummary(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

EmmaBuilderGrid

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

getEmmaCoverageResultSummary

public EmmaCoverageResultSummary getEmmaCoverageResultSummary(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:
EmmaCoverageResultSummary a coverage result summary


Copyright © 2004-2012 Hudson. All Rights Reserved.