Class JacocoBuilderGrid

  • All Implemented Interfaces:
    ExtensionPoint, Describable<hudson.plugins.view.dashboard.DashboardPortlet>, ModelObject

    public class JacocoBuilderGrid
    extends hudson.plugins.view.dashboard.DashboardPortlet
    A portlet for JaCoCo Coverage results - Grid data. See http://wiki.hudson-ci.org/display/HUDSON/Dashboard+View
    • 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<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