Class ForensicsViewModel
java.lang.Object
io.jenkins.plugins.datatables.DefaultAsyncTableContentProvider
io.jenkins.plugins.forensics.miner.ForensicsViewModel
- All Implemented Interfaces:
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.- Author:
- Ullrich Hafner
-
Method Summary
Modifier and TypeMethodDescriptionReturns the UI model for an ECharts doughnut chart that shows the severities.Returns the UI model for an ECharts doughnut chart that shows the severities.getDynamic
(String link, org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) Returns a new sub page for the selected link.Run
<?, ?> getOwner()
getTableModel
(String id) Methods inherited from class io.jenkins.plugins.datatables.DefaultAsyncTableContentProvider
getTableRows
-
Method Details
-
getOwner
-
getDisplayName
- Specified by:
getDisplayName
in interfaceModelObject
-
getScmKey
-
getTableModel
- Specified by:
getTableModel
in interfaceio.jenkins.plugins.datatables.AsyncTableContentProvider
-
getAuthorsModel
Returns the UI model for an ECharts doughnut chart that shows the severities.- Returns:
- the UI model as JSON
-
getCommitsModel
Returns the UI model for an ECharts doughnut chart that shows the severities.- Returns:
- the UI model as JSON
-
getDynamic
public Object getDynamic(String link, org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) Returns a new sub page for the selected link.- Parameters:
link
- the link to identify the sub page to showrequest
- Stapler requestresponse
- Stapler response- Returns:
- the new sub page
-