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
  • Konstruktordetails

    • FileDetailsView

      public FileDetailsView(Run<?,?> owner, String fileLink, RepositoryStatistics repositoryStatistics, CommitDecorator decorator)
      Creates a new FileDetailsView instance.
      Parameter:
      owner - the owner (build) of this view
      fileLink - the file the view should be created for
      repositoryStatistics - the whole repository statistics
      decorator - renders commit links
  • Methodendetails

    • getOwner

      public Run<?,?> 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

      @JavaScriptMethod public String getCommitUrl(String commit)
      Returns the repository URL for the specified commit.
      Parameter:
      commit - the commit to get the URL for
      Gibt zurück:
      the repository URL
    • getBuildTrendModel

      @JavaScriptMethod public String getBuildTrendModel()
      Angegeben von:
      getBuildTrendModel in Schnittstelle io.jenkins.plugins.echarts.AsyncTrendChart
    • isTrendVisible

      public boolean isTrendVisible()
      Angegeben von:
      isTrendVisible in Schnittstelle io.jenkins.plugins.echarts.AsyncTrendChart
    • getDisplayName

      public String getDisplayName()
      Angegeben von:
      getDisplayName in Schnittstelle ModelObject
    • getFullPath

      public String getFullPath()
    • getTableModel

      public io.jenkins.plugins.datatables.TableModel getTableModel(String id)
      Angegeben von:
      getTableModel in Schnittstelle io.jenkins.plugins.datatables.AsyncTableContentProvider