Class IssuesTablePortlet

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

    public class IssuesTablePortlet
    extends hudson.plugins.view.dashboard.DashboardPortlet
    A dashboard view portlet that renders a two-dimensional table of issues per type and job.
    Ullrich Hafner
    • Constructor Detail

      • IssuesTablePortlet

        public IssuesTablePortlet​(String name)
        Creates a new instance of IssuesTablePortlet.
        name - the name of the portlet
    • Method Detail

      • getHideCleanJobs

        public boolean getHideCleanJobs()
      • setHideCleanJobs

        public void setHideCleanJobs​(boolean hideCleanJobs)
        Determines if all jobs that have no issues from the selected static analysis tools should be hidden.
        hideCleanJobs - if true then all jobs with no issues will be hidden, false otherwise
      • getShowIcons

        public boolean getShowIcons()
      • setShowIcons

        public void setShowIcons​(boolean showIcons)
        Determines if the table column headers should show icons or text.
        showIcons - if true the table column headers will show the tool icon, otherwise the name of the tool is shown
      • getSelectTools

        public boolean getSelectTools()
      • setSelectTools

        public void setSelectTools​(boolean selectTools)
        Determines whether all available tools should be selected or if the selection should be done individually.
        selectTools - if true the selection of tools can be done manually by selecting the corresponding ID, otherwise all available tools in a job are automatically selected
      • setTools

        public void setTools​(List<ToolSelection> tools)
        Returns the tools that should be taken into account when summing up the totals of a job.
        tools - the tools to select
        See Also:
      • getModel

        public IssuesTablePortlet.PortletTableModel getModel​(List<Job<?,​?>> jobs)
        Returns a model for the table with the results per job.
        jobs - the jobs that will be rendered in the rows
        the table model