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 theReportDetails
of the selected subitem.- Author:
- Simon Symhoven
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ItemTableModel.ItemRow
A table row that shows the properties of an item.
-
Constructor Summary
Constructors Constructor Description ItemTableModel(Report report, Item item)
Creates a new instance ofItemTableModel
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.jenkins.plugins.datatables.TableColumn
createResultAbsoluteColumn(String property)
List<io.jenkins.plugins.datatables.TableColumn>
getColumns()
String
getId()
Item
getItem()
Report
getReport()
List<ItemTableModel.ItemRow>
getRows()
String
label(Integer value)
-
-
-
Constructor Detail
-
ItemTableModel
public ItemTableModel(Report report, Item item)
Creates a new instance ofItemTableModel
.- Parameters:
report
- the report with resultitem
- the item to render
-
-
Method Detail
-
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)
-
-