public class ResultAction extends Object implements jenkins.model.RunAction2, jenkins.tasks.SimpleBuildStep.LastBuildAction
| Constructor and Description |
|---|
ResultAction(hudson.model.Run<?,?> build,
ArrayList<Finding> findings,
SeverityDistribution severityDistribution) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
List<Finding> |
getFindings() |
net.sf.json.JSONObject |
getFindingsJson()
Returns the UI model for an ECharts line chart that shows the findings.
|
String |
getIconFileName() |
Collection<? extends hudson.model.Action> |
getProjectActions() |
hudson.model.Run |
getRun() |
SeverityDistribution |
getSeverityDistribution() |
net.sf.json.JSONObject |
getSeverityDistributionJson()
Returns a JSON response with the statistics for severity.
|
String |
getUrlName() |
void |
onAttached(hudson.model.Run<?,?> run) |
void |
onLoad(hudson.model.Run<?,?> run) |
public ResultAction(hudson.model.Run<?,?> build,
ArrayList<Finding> findings,
SeverityDistribution severityDistribution)
public String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic void onAttached(hudson.model.Run<?,?> run)
onAttached in interface jenkins.model.RunAction2public void onLoad(hudson.model.Run<?,?> run)
onLoad in interface jenkins.model.RunAction2public Collection<? extends hudson.model.Action> getProjectActions()
getProjectActions in interface jenkins.tasks.SimpleBuildStep.LastBuildActionpublic hudson.model.Run getRun()
public SeverityDistribution getSeverityDistribution()
@JavaScriptMethod public net.sf.json.JSONObject getFindingsJson()
@JavaScriptMethod public net.sf.json.JSONObject getSeverityDistributionJson()
Copyright © 2018–2020 OWASP. All rights reserved.