public class ResultAction extends Object implements RunAction2, SimpleBuildStep.LastBuildAction
| Constructor and Description |
|---|
ResultAction(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 Action> |
getProjectActions() |
Run |
getRun() |
SeverityDistribution |
getSeverityDistribution() |
net.sf.json.JSONObject |
getSeverityDistributionJson()
Returns a JSON response with the statistics for severity.
|
String |
getUrlName() |
void |
onAttached(Run<?,?> run) |
void |
onLoad(Run<?,?> run) |
public ResultAction(Run<?,?> build, ArrayList<Finding> findings, SeverityDistribution severityDistribution)
public String getIconFileName()
getIconFileName in interface Actionpublic String getDisplayName()
getDisplayName in interface ActiongetDisplayName in interface ModelObjectpublic String getUrlName()
getUrlName in interface Actionpublic void onAttached(Run<?,?> run)
onAttached in interface RunAction2public void onLoad(Run<?,?> run)
onLoad in interface RunAction2public Collection<? extends Action> getProjectActions()
getProjectActions in interface SimpleBuildStep.LastBuildActionpublic 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.