Klasse FileDetailsView
java.lang.Object
io.jenkins.plugins.datatables.DefaultAsyncTableContentProvider
io.jenkins.plugins.forensics.miner.FileDetailsView
- Alle implementierten Schnittstellen:
ModelObject
,io.jenkins.plugins.datatables.AsyncTableContentProvider
,io.jenkins.plugins.echarts.AsyncTrendChart
public class FileDetailsView
extends io.jenkins.plugins.datatables.DefaultAsyncTableContentProvider
implements ModelObject, io.jenkins.plugins.echarts.AsyncTrendChart
Creates a view for the selected link in the details table.
- Autor:
- Giulia Del Bravo
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
A table row that shows details about a specific file. -
Konstruktorübersicht
KonstruktorBeschreibungFileDetailsView
(Run<?, ?> owner, String fileLink, RepositoryStatistics repositoryStatistics, CommitDecorator decorator) Creates a newFileDetailsView
instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungedu.hm.hafner.echarts.LinesChartModel
Should return a LinesChartModel for this file detailing the added and deleted lines over all commits analyzed.getCommitUrl
(String commit) Returns the repository URL for the specified commit.Run
<?, ?> getOwner()
io.jenkins.plugins.datatables.TableModel
getTableModel
(String id) boolean
Von Klasse geerbte Methoden io.jenkins.plugins.datatables.DefaultAsyncTableContentProvider
getTableRows
-
Konstruktordetails
-
FileDetailsView
public FileDetailsView(Run<?, ?> owner, String fileLink, RepositoryStatistics repositoryStatistics, CommitDecorator decorator) Creates a newFileDetailsView
instance.- Parameter:
owner
- the owner (build) of this viewfileLink
- the file the view should be created forrepositoryStatistics
- the whole repository statisticsdecorator
- renders commit links
-
-
Methodendetails
-
getOwner
-
createChartModel
public edu.hm.hafner.echarts.LinesChartModel createChartModel()Should return a LinesChartModel for this file detailing the added and deleted lines over all commits analyzed.- Gibt zurück:
- LinesChartModel for this file displaying deleted and added lines.
-
getCommitUrl
Returns the repository URL for the specified commit.- Parameter:
commit
- the commit to get the URL for- Gibt zurück:
- the repository URL
-
getBuildTrendModel
- Angegeben von:
getBuildTrendModel
in Schnittstelleio.jenkins.plugins.echarts.AsyncTrendChart
-
isTrendVisible
public boolean isTrendVisible()- Angegeben von:
isTrendVisible
in Schnittstelleio.jenkins.plugins.echarts.AsyncTrendChart
-
getDisplayName
- Angegeben von:
getDisplayName
in SchnittstelleModelObject
-
getFullPath
-
getTableModel
- Angegeben von:
getTableModel
in Schnittstelleio.jenkins.plugins.datatables.AsyncTableContentProvider
-