Package com.breachlock.controllers
Class DASTScan
- java.lang.Object
- 
- hudson.tasks.BuildStepCompatibilityLayer
- 
- hudson.tasks.Builder
- 
- com.breachlock.controllers.DASTScan
 
 
 
- 
- All Implemented Interfaces:
- ExtensionPoint,- Describable<Builder>,- BuildStep,- SimpleBuildStep
 
 public class DASTScan extends Builder implements SimpleBuildStep - Author:
- mitchel.k@breachlock.com
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDASTScan.DescriptorImplForm descriptor used for form handling.- 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStepBuildStep.PublisherList
 - 
Nested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
 - 
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStepSimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
 
- 
 - 
Field Summary- 
Fields inherited from interface hudson.tasks.BuildStepBUILDERS, PUBLISHERS
 
- 
 - 
Constructor SummaryConstructors Constructor Description DASTScan()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApikey()Return the encrypted secret API key.StringgetAsset()Return asset.DASTScan.DescriptorImplgetDescriptor()StringgetEmail()Return the email.voidperform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)voidsetApikey(Secret apikey)Set the encrypted API key.voidsetAsset(String asset)Set the asset to scan.This is required for functioning of the formvoidsetEmail(String email)Set the email.This is required for functioning of the form- 
Methods inherited from class hudson.tasks.Builderall, getRequiredMonitorService, prebuild
 - 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayergetProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface hudson.tasks.BuildStepgetProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
 
- 
 
- 
- 
- 
Method Detail- 
getDescriptorpublic DASTScan.DescriptorImpl getDescriptor() - Specified by:
- getDescriptorin interface- Describable<Builder>
- Overrides:
- getDescriptorin class- Builder
 
 - 
performpublic void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException - Specified by:
- performin interface- SimpleBuildStep
- Throws:
- InterruptedException
- IOException
 
 - 
getAssetpublic String getAsset() Return asset. This is required for functioning of the form- Returns:
- asset Asset to scan
 
 - 
setAsset@DataBoundSetter public void setAsset(String asset) Set the asset to scan.This is required for functioning of the form- Parameters:
- asset- Asset to scan
 
 - 
getEmailpublic String getEmail() Return the email. This is required for functioning of the form- Returns:
- email Email used for app.breachlock.co
 
 - 
setEmail@DataBoundSetter public void setEmail(String email) Set the email.This is required for functioning of the form- Parameters:
- email- Email used for app.breachlock.co
 
 - 
getApikeypublic String getApikey() Return the encrypted secret API key. This is required for functioning of the form- Returns:
- apiKey Jenkins integration API key
 
 - 
setApikey@DataBoundSetter public void setApikey(Secret apikey) Set the encrypted API key.- Parameters:
- apikey- Jenkins integration API key
 
 
- 
 
-