Class ItemTableModel

java.lang.Object
io.jenkins.plugins.reporter.model.ItemTableModel

public class ItemTableModel extends Object
Provides the model for the item table. The model displays the distribution for the subitems and the id column is linked to the ReportDetails of the selected subitem.
Author:
Simon Symhoven
  • Constructor Details

    • ItemTableModel

      public ItemTableModel(Report report, Item item)
      Creates a new instance of ItemTableModel.
      Parameters:
      report - the report with result
      item - the item to render
  • Method Details

    • getId

      public String getId()
    • getReport

      public Report getReport()
    • getItem

      public Item getItem()
    • getColumns

      public List<io.jenkins.plugins.datatables.TableColumn> getColumns()
    • getRows

      public List<ItemTableModel.ItemRow> getRows()
    • createResultAbsoluteColumn

      protected io.jenkins.plugins.datatables.TableColumn createResultAbsoluteColumn(String property)
    • label

      public String label(Integer value)