Class ForensicsModel
- java.lang.Object
-
- io.jenkins.plugins.datatables.TableModel
-
- io.jenkins.plugins.analysis.core.model.DetailsTableModel
-
- io.jenkins.plugins.analysis.core.model.ForensicsModel
-
public class ForensicsModel extends DetailsTableModel
Provides the dynamic model for the details table that shows the source control file statistics.This forensics model consists of the following columns:
- issue details (message and description)
- file name
- age
- total number of different authors
- total number of commits
- time of last commit
- time of first commit
- lines of code
- code churn
- Author:
- Ullrich Hafner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ForensicsModel.ForensicsRow
A table row that shows the source control statistics.-
Nested classes/interfaces inherited from class io.jenkins.plugins.analysis.core.model.DetailsTableModel
DetailsTableModel.TableRow
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<io.jenkins.plugins.datatables.TableColumn>
getColumns()
String
getId()
ForensicsModel.ForensicsRow
getRow(edu.hm.hafner.analysis.Issue issue)
Returns a table row for the specified issue.-
Methods inherited from class io.jenkins.plugins.analysis.core.model.DetailsTableModel
createAgeColumn, createDetailsColumn, createFileColumn, createHiddenDetailsColumn, createSeverityColumn, getAgeBuilder, getDescriptionProvider, getFileNameRenderer, getJenkinsFacade, getReport, getRows
-
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in classio.jenkins.plugins.datatables.TableModel
-
getColumns
public List<io.jenkins.plugins.datatables.TableColumn> getColumns()
- Specified by:
getColumns
in classio.jenkins.plugins.datatables.TableModel
-
getRow
public ForensicsModel.ForensicsRow getRow(edu.hm.hafner.analysis.Issue issue)
Description copied from class:DetailsTableModel
Returns a table row for the specified issue.- Specified by:
getRow
in classDetailsTableModel
- Parameters:
issue
- the issue to show in the row- Returns:
- a table row for the issue
-
-