Class ScanResultsTrend
- java.lang.Object
-
- com.hcl.appscan.jenkins.plugin.actions.AppScanAction
-
- com.hcl.appscan.jenkins.plugin.actions.ScanResultsTrend
-
- All Implemented Interfaces:
Action
,ModelObject
public class ScanResultsTrend extends AppScanAction
-
-
Field Summary
-
Fields inherited from class com.hcl.appscan.jenkins.plugin.actions.AppScanAction
ICON, m_project, URL
-
-
Constructor Summary
Constructors Constructor Description ScanResultsTrend(Run<?,?> project, String type, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doDynamic(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
int
getBuildCount()
Gets the number of builds that haveScanResults
.org.apache.wink.json4j.JSONObject
getBuildFindingCounts()
Gets a JSONObject containing all scans and their results.String
getChartName()
Gets the name to use for the trend chart.String
getDisplayName()
String
getIconFileName()
String
getUrlName()
-
Methods inherited from class com.hcl.appscan.jenkins.plugin.actions.AppScanAction
getProject
-
-
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
- Overrides:
getIconFileName
in classAppScanAction
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
- Overrides:
getUrlName
in classAppScanAction
-
getDisplayName
public String getDisplayName()
-
getChartName
public String getChartName()
Gets the name to use for the trend chart.- Returns:
-
getBuildCount
public int getBuildCount()
Gets the number of builds that haveScanResults
.- Returns:
-
getBuildFindingCounts
public org.apache.wink.json4j.JSONObject getBuildFindingCounts()
Gets a JSONObject containing all scans and their results.- Returns:
-
doDynamic
public void doDynamic(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws MalformedURLException, javax.servlet.ServletException, IOException
- Throws:
MalformedURLException
javax.servlet.ServletException
IOException
-
-