Package io.jenkins.plugins
Class CodeThreatAction
- java.lang.Object
-
- io.jenkins.plugins.CodeThreatAction
-
- All Implemented Interfaces:
Action
,ModelObject
,RunAction2
public class CodeThreatAction extends Object implements RunAction2
-
-
Constructor Summary
Constructors Constructor Description CodeThreatAction(Number critical, Number high, Number medium, Number low, Number total, Number totalCountNewIssues, Map<String,Integer> newIssuesSeverity, List<Map<String,Object>> resultList, String durationTime, String riskScore, String resultsLink, String report, String projectName, String fixedIssues, com.fasterxml.jackson.databind.JsonNode scaDeps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Number
getCritical()
String
getDisplayName()
String
getDurationTime()
String
getFixedIssues()
Number
getHigh()
String
getIconFileName()
Number
getLow()
Number
getMedium()
Map<String,Integer>
getNewIssuesSeverity()
String
getProjectName()
String
getReport()
List<Map<String,Object>>
getResultList()
String
getResultsLink()
String
getRiskScore()
Run
getRun()
com.fasterxml.jackson.databind.JsonNode
getScaDeps()
Number
getTotal()
Number
getTotalCountNewIssues()
String
getUrlName()
void
onAttached(Run<?,?> run)
void
onLoad(Run<?,?> run)
-
-
-
Constructor Detail
-
CodeThreatAction
public CodeThreatAction(Number critical, Number high, Number medium, Number low, Number total, Number totalCountNewIssues, Map<String,Integer> newIssuesSeverity, List<Map<String,Object>> resultList, String durationTime, String riskScore, String resultsLink, String report, String projectName, String fixedIssues, com.fasterxml.jackson.databind.JsonNode scaDeps)
-
-
Method Detail
-
onAttached
public void onAttached(Run<?,?> run)
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> run)
- Specified by:
onLoad
in interfaceRunAction2
-
getRun
public Run getRun()
-
getCritical
public Number getCritical()
-
getHigh
public Number getHigh()
-
getMedium
public Number getMedium()
-
getLow
public Number getLow()
-
getTotal
public Number getTotal()
-
getTotalCountNewIssues
public Number getTotalCountNewIssues()
-
getDurationTime
public String getDurationTime()
-
getRiskScore
public String getRiskScore()
-
getResultsLink
public String getResultsLink()
-
getReport
public String getReport()
-
getProjectName
public String getProjectName()
-
getFixedIssues
public String getFixedIssues()
-
getScaDeps
public com.fasterxml.jackson.databind.JsonNode getScaDeps()
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
-