Klasse DetailsTableModel
java.lang.Object
io.jenkins.plugins.datatables.TableModel
io.jenkins.plugins.analysis.core.model.DetailsTableModel
- Bekannte direkte Unterklassen:
BlamesModel
,DuplicateCodeScanner.DryModel
,ForensicsModel
,IssuesModel
,RevApi.RevApiModel
public abstract class DetailsTableModel
extends io.jenkins.plugins.datatables.TableModel
Provides the model for the issues details table. The model consists of the following parts:
- header name for each column
- width for each column
- content for each row
- content for whole table
- Autor:
- Ullrich Hafner
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
Base class for table rows.Von Klasse geerbte verschachtelte Klassen/Schnittstellen io.jenkins.plugins.datatables.TableModel
io.jenkins.plugins.datatables.TableModel.DetailedColumnDefinition
-
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
DetailsTableModel
(edu.hm.hafner.analysis.Report report, FileNameRenderer fileNameRenderer, StaticAnalysisLabelProvider.AgeBuilder ageBuilder, DescriptionProvider descriptionProvider, io.jenkins.plugins.util.JenkinsFacade jenkinsFacade) Creates a new instance ofDetailsTableModel
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected io.jenkins.plugins.datatables.TableColumn
protected io.jenkins.plugins.datatables.TableColumn
protected io.jenkins.plugins.datatables.TableColumn
protected io.jenkins.plugins.datatables.TableColumn
protected io.jenkins.plugins.datatables.TableColumn
protected io.jenkins.plugins.datatables.TableColumn
protected StaticAnalysisLabelProvider.AgeBuilder
protected DescriptionProvider
protected FileNameRenderer
protected io.jenkins.plugins.util.JenkinsFacade
protected edu.hm.hafner.analysis.Report
protected abstract DetailsTableModel.TableRow
getRow
(edu.hm.hafner.analysis.Issue issue) Returns a table row for the specified issue.getRows()
Converts the specified set of issues into a table.io.jenkins.plugins.datatables.TableConfiguration
Von Klasse geerbte Methoden io.jenkins.plugins.datatables.TableModel
getColumns, getColumnsDefinition, getId, getTableConfigurationDefinition
-
Konstruktordetails
-
DetailsTableModel
protected DetailsTableModel(edu.hm.hafner.analysis.Report report, FileNameRenderer fileNameRenderer, StaticAnalysisLabelProvider.AgeBuilder ageBuilder, DescriptionProvider descriptionProvider, io.jenkins.plugins.util.JenkinsFacade jenkinsFacade) Creates a new instance ofDetailsTableModel
.- Parameter:
report
- the report to renderfileNameRenderer
- renders the file name columnageBuilder
- renders the age columndescriptionProvider
- renders the description textjenkinsFacade
- Jenkins facade to replaced with a stub during unit tests
-
-
Methodendetails
-
getTableConfiguration
public io.jenkins.plugins.datatables.TableConfiguration getTableConfiguration()- Setzt außer Kraft:
getTableConfiguration
in Klasseio.jenkins.plugins.datatables.TableModel
-
getJenkinsFacade
protected io.jenkins.plugins.util.JenkinsFacade getJenkinsFacade() -
getReport
protected edu.hm.hafner.analysis.Report getReport() -
getFileNameRenderer
-
getAgeBuilder
-
getDescriptionProvider
-
getRows
Converts the specified set of issues into a table.- Angegeben von:
getRows
in Klasseio.jenkins.plugins.datatables.TableModel
- Gibt zurück:
- the table as String
-
createDetailsColumn
protected io.jenkins.plugins.datatables.TableColumn createDetailsColumn() -
createHiddenDetailsColumn
protected io.jenkins.plugins.datatables.TableColumn createHiddenDetailsColumn() -
createFileColumn
protected io.jenkins.plugins.datatables.TableColumn createFileColumn() -
createAgeColumn
protected io.jenkins.plugins.datatables.TableColumn createAgeColumn() -
createSeverityColumn
protected io.jenkins.plugins.datatables.TableColumn createSeverityColumn() -
createPackageColumn
protected io.jenkins.plugins.datatables.TableColumn createPackageColumn() -
getRow
Returns a table row for the specified issue.- Parameter:
issue
- the issue to show in the row- Gibt zurück:
- a table row for the issue
-