Package io.jenkins.plugins.actions
Class ScanResultAction
- java.lang.Object
-
- io.jenkins.plugins.actions.ScanResultAction
-
- All Implemented Interfaces:
Action
,ModelObject
,RunAction2
public class ScanResultAction extends Object implements RunAction2
-
-
Field Summary
Fields Modifier and Type Field Description ScanResult
scanResult
-
Constructor Summary
Constructors Constructor Description ScanResultAction(TaskListener listener, ScanResult scanResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
String
getIconFileName()
Run
getRun()
String
getScanResult()
ScanResult
getScanResultObj()
String
getUrlName()
String
getUUID()
void
onAttached(Run<?,?> run)
void
onLoad(Run<?,?> run)
-
-
-
Field Detail
-
scanResult
@DataBoundSetter public ScanResult scanResult
-
-
Constructor Detail
-
ScanResultAction
@DataBoundConstructor public ScanResultAction(TaskListener listener, ScanResult scanResult) throws IOException, URISyntaxException
- Throws:
IOException
URISyntaxException
-
-
Method Detail
-
getScanResultObj
public ScanResult getScanResultObj()
-
getScanResult
public String getScanResult() throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
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()
-
getUUID
public String getUUID()
-
-