Class PointScan
- java.lang.Object
 - 
- io.jenkins.plugins.servicenow.instancescan.PointScan
 
 
- 
- All Implemented Interfaces:
 ScanAction
public class PointScan extends Object implements ScanAction
 
- 
- 
Constructor Summary
Constructors Constructor Description PointScan() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resultexecute(ServiceNowAPIClient apiClient, String[] parameters)Sends a request to execute point scan for specified table and record in parameters.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
Sends a request to execute point scan for specified table and record in parameters.- Specified by:
 executein interfaceScanAction- Parameters:
 apiClient-parameters- Point scan arguments: 1 argument: target table, 2 argument: target record (sys_id)- Returns:
 - Result or link to a progress of the scan
 - Throws:
 IOExceptionURISyntaxException
 
 - 
 
 -