Package com.rapid7.appspider
Class ScanSettings
- java.lang.Object
-
- com.rapid7.appspider.ScanSettings
-
public class ScanSettings extends Object
Storage class for scan settings provided by Jenkins
-
-
Constructor Summary
Constructors Constructor Description ScanSettings(String configName, String reportName, Boolean enableScan, Boolean generateReport, String scanConfigName, String scanConfigUrl, String scanConfigEngineGroupName)Constructs a DTO style container object storing scan settings from Jenkins
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConfigName()booleangetEnableScan()booleangetGenerateReport()StringgetNewConfigName()StringgetNewConfigUrl()StringgetReportName()StringgetScanConfigEngineGroupName()intgetStatusPollTime()ScanSettingswithConfigName(String configName)ScanSettingswithEmptyConfigValues()
-
-
-
Constructor Detail
-
ScanSettings
public ScanSettings(String configName, String reportName, Boolean enableScan, Boolean generateReport, String scanConfigName, String scanConfigUrl, String scanConfigEngineGroupName)
Constructs a DTO style container object storing scan settings from Jenkins- Parameters:
configName- name of the scan config to runreportName- name of the reportenableScan- when to enable a new scangenerateReport- whether to generate a report at the end of the scanscanConfigName- name of the scan configuration to run (as known to AppSpider Enterprise)scanConfigUrl- URL of the scan configurationscanConfigEngineGroupName- name of the engine group to run the scan under
-
-
Method Detail
-
getConfigName
public String getConfigName()
-
withConfigName
public ScanSettings withConfigName(String configName)
-
getReportName
public String getReportName()
-
getEnableScan
public boolean getEnableScan()
-
getGenerateReport
public boolean getGenerateReport()
-
getNewConfigName
public String getNewConfigName()
-
getScanConfigEngineGroupName
public String getScanConfigEngineGroupName()
-
getNewConfigUrl
public String getNewConfigUrl()
-
getStatusPollTime
public int getStatusPollTime()
-
withEmptyConfigValues
public ScanSettings withEmptyConfigValues()
-
-