Klasse ForensicsViewModel

java.lang.Object
io.jenkins.plugins.datatables.DefaultAsyncTableContentProvider
io.jenkins.plugins.forensics.miner.ForensicsViewModel
Alle implementierten Schnittstellen:
ModelObject, io.jenkins.plugins.datatables.AsyncTableContentProvider

public class ForensicsViewModel extends io.jenkins.plugins.datatables.DefaultAsyncTableContentProvider implements ModelObject
Server side model that provides the data for the details view of the repository statistics. The layout of the associated view is defined corresponding jelly view 'index.jelly') in the ForensicsViewModel package.
Autor:
Ullrich Hafner
  • Methodendetails

    • getOwner

      public Run<?,?> getOwner()
    • getDisplayName

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

      public String getScmKey()
    • getTableModel

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

      @JavaScriptMethod public String getAuthorsModel()
      Returns the UI model for an ECharts doughnut chart that shows the severities.
      Gibt zurück:
      the UI model as JSON
    • getCommitsModel

      @JavaScriptMethod public String getCommitsModel()
      Returns the UI model for an ECharts doughnut chart that shows the severities.
      Gibt zurück:
      the UI model as JSON
    • getDynamic

      public Object getDynamic(String link, org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
      Returns a new sub page for the selected link.
      Parameter:
      link - the link to identify the sub page to show
      request - Stapler request
      response - Stapler response
      Gibt zurück:
      the new sub page