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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Number
getCritical()
String
getDisplayName()
String
getDurationTime()
Number
getHigh()
String
getIconFileName()
Number
getLow()
Number
getMedium()
Map<String,Integer>
getNewIssuesSeverity()
List<Map<String,Object>>
getResultList()
String
getResultsLink()
String
getRiskScore()
Run
getRun()
Number
getTotal()
Number
getTotalCountNewIssues()
String
getUrlName()
void
onAttached(Run<?,?> run)
void
onLoad(Run<?,?> run)
-
-
-
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()
-
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
-
-