@ExportedBean
public class ClassDetailsView
extends io.jenkins.plugins.datatables.DefaultAsyncTableContentProvider
implements hudson.model.ModelObject
Constructor and Description |
---|
ClassDetailsView(hudson.model.Run<?,?> owner,
String className)
Details view for a class.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getClassOverview() |
String |
getDisplayName() |
String |
getMetricsJSON() |
hudson.model.Run<?,?> |
getOwner()
Returns the build as owner of this object.
|
String |
getPackageName() |
List<MetricDefinition> |
getSupportedMetrics() |
String |
getSupportedMetricsJSON() |
io.jenkins.plugins.datatables.TableModel |
getTableModel(String id) |
public ClassDetailsView(hudson.model.Run<?,?> owner, String className)
owner
- the owning Run
className
- the className for which the metrics should be shownpublic String getDisplayName()
getDisplayName
in interface hudson.model.ModelObject
public String getPackageName()
public final hudson.model.Run<?,?> getOwner()
@JavaScriptMethod public List<MetricDefinition> getSupportedMetrics()
public String getSupportedMetricsJSON()
@JavaScriptMethod public String getMetricsJSON()
public io.jenkins.plugins.datatables.TableModel getTableModel(String id)
getTableModel
in interface io.jenkins.plugins.datatables.AsyncTableContentProvider
Copyright © 2016–2020. All rights reserved.