Package com.vdoo.vision.plugin
Class ScannerBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.vdoo.vision.plugin.ScannerBuilder
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep,SimpleBuildStep
public class ScannerBuilder extends Builder implements SimpleBuildStep
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScannerBuilder.DescriptorImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors Constructor Description ScannerBuilder() -
Method Summary
Modifier and Type Method Description StringgetBaseApi()StringgetFailThreshold()StringgetFirmwareLocation()StringgetMaxHighlightedCVEs()StringgetMaxHighlightedExposures()StringgetMaxHighlightedIssues()StringgetMaxMaliciousFiles()IntegergetProductId()SecretgetVdooToken()BooleangetWaitForResults()voidperform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)voidsetBaseApi(String baseApi)voidsetFailThreshold(String failThreshold)voidsetFirmwareLocation(String firmwareLocation)voidsetMaliciousFiles(String maxMaliciousFiles)voidsetMaxHighlightedCVEs(String maxHighlightedCVEs)voidsetMaxHighlightedExposures(String maxHighlightedExposures)voidsetMaxHighlightedIssues(String maxHighlightedIssues)voidsetProductId(String productId)voidsetVdooToken(Secret vdooToken)voidsetWaitForResults(Boolean waitForResults)Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
-
Constructor Details
-
ScannerBuilder
@DataBoundConstructor public ScannerBuilder()
-
-
Method Details
-
getVdooToken
-
getFailThreshold
-
getMaxHighlightedIssues
-
getMaxHighlightedExposures
-
getMaxHighlightedCVEs
-
getMaxMaliciousFiles
-
getProductId
-
getFirmwareLocation
-
getBaseApi
-
setBaseApi
-
getWaitForResults
-
setWaitForResults
-
setFailThreshold
-
setMaxHighlightedIssues
-
setMaxHighlightedExposures
-
setMaxHighlightedCVEs
-
setMaliciousFiles
-
setProductId
-
setFirmwareLocation
-
setVdooToken
-
perform
public void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-