Class ComboScan
- java.lang.Object
-
- io.jenkins.plugins.servicenow.instancescan.ComboScan
-
- All Implemented Interfaces:
ScanAction
public class ComboScan extends Object implements ScanAction
-
-
Constructor Summary
Constructors Constructor Description ComboScan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resultexecute(ServiceNowAPIClient apiClient, String[] parameters)Send a request to execute a scan with combo.booleanisApplicable(ScanType scanType)
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(ScanType scanType)
- Specified by:
isApplicablein interfaceScanAction
-
execute
public Result execute(ServiceNowAPIClient apiClient, String[] parameters) throws IOException, URISyntaxException
Send a request to execute a scan with combo.- Specified by:
executein interfaceScanAction- Parameters:
apiClient-parameters- Combo scan arguments: 1 argument: combo system id- Returns:
- Result or link to a progress of the scan
- Throws:
IOExceptionURISyntaxException
-
-