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 Result
execute(ServiceNowAPIClient apiClient, String[] parameters)
Sends a request to execute point scan for specified table and record in parameters.boolean
isApplicable(ScanType scanType)
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(ScanType scanType)
- Specified by:
isApplicable
in 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:
execute
in 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:
IOException
URISyntaxException
-
-