public class Scanner extends Object
Constructor and Description |
---|
Scanner(BuildVerdict verdict,
String protecodeScGroup,
ProtecodeScService serv,
hudson.model.Run<?,?> run,
int scanTimeout,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
String directoryToScan,
boolean scanOnlyArtifacts,
boolean includeSubdirectories,
boolean endAfterSendingFiles,
String pattern,
String protecodeScanName,
String customHeader,
boolean dontZipFiles,
boolean failIfVulns) |
Modifier and Type | Method and Description |
---|---|
Optional<List<FileResult>> |
doPerform()
The logic.
|
void |
readEnvironmentVariables() |
boolean |
zippingInUse() |
public Scanner(BuildVerdict verdict, String protecodeScGroup, ProtecodeScService serv, hudson.model.Run<?,?> run, int scanTimeout, hudson.FilePath workspace, hudson.model.TaskListener listener, String directoryToScan, boolean scanOnlyArtifacts, boolean includeSubdirectories, boolean endAfterSendingFiles, String pattern, String protecodeScanName, String customHeader, boolean dontZipFiles, boolean failIfVulns)
public void readEnvironmentVariables() throws IOException, InterruptedException
IOException
InterruptedException
public Optional<List<FileResult>> doPerform() throws InterruptedException, IOException
IOException
- File operations will throw this in cases of not found etcInterruptedException
- Jenkins build interruptionpublic boolean zippingInUse()
Copyright © 2016–2023. All rights reserved.