Package io.prismacloud.iac.jenkins
Class ScanResultAction
- java.lang.Object
-
- io.prismacloud.iac.jenkins.ScanResultAction
-
- All Implemented Interfaces:
Action
,ModelObject
,RunAction2
public class ScanResultAction extends Object implements RunAction2
-
-
Constructor Summary
Constructors Constructor Description ScanResultAction(String scanResultJsonFile, boolean buildStatus, Map<String,String> map, boolean apiResponseError, TaskListener listener, String parentName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
List<ErrorDetail>
getErrorResponseList()
int
getHigh()
String
getHighPercentage()
String
getIconFileName()
int
getLow()
String
getLowPercentage()
int
getMedium()
String
getMediumPercentage()
Run
getRun()
List<Issue>
getScanResults()
Map<String,String>
getSeverityMap()
String
getStatus()
String
getStatusMessage()
int
getTotal()
String
getUrlName()
boolean
isApiError()
void
onAttached(Run<?,?> run)
void
onLoad(Run<?,?> run)
-
-
-
Method Detail
-
isApiError
public boolean isApiError()
-
getStatusMessage
public String getStatusMessage()
-
getErrorResponseList
public List<ErrorDetail> getErrorResponseList()
-
getTotal
public int getTotal()
-
getHigh
public int getHigh()
-
getMedium
public int getMedium()
-
getLow
public int getLow()
-
getHighPercentage
public String getHighPercentage()
-
getMediumPercentage
public String getMediumPercentage()
-
getLowPercentage
public String getLowPercentage()
-
getStatus
public String getStatus()
-
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
-
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()
-
-