Package com.probely.plugin
Class ProbelyScanBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- com.probely.plugin.ProbelyScanBuilder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
public class ProbelyScanBuilder extends Builder implements SimpleBuildStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProbelyScanBuilder.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested 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 ProbelyScanBuilder(String targetId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCredentialsId()
String
getFailThreshold()
boolean
getStopIfFailed()
String
getTargetId()
boolean
getWaitForScan()
void
perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
void
setAuthToken(String authToken)
void
setCredentialsId(String credentialsId)
void
setFailThreshold(String failThreshold)
void
setStopIfFailed(boolean stopIfFailed)
void
setWaitForScan(boolean waitForScan)
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform
-
-
-
-
Constructor Detail
-
ProbelyScanBuilder
@DataBoundConstructor public ProbelyScanBuilder(String targetId)
-
-
Method Detail
-
getTargetId
public String getTargetId()
-
getCredentialsId
public String getCredentialsId()
-
setCredentialsId
@DataBoundSetter public void setCredentialsId(String credentialsId)
-
setAuthToken
@DataBoundSetter public void setAuthToken(String authToken)
-
getWaitForScan
public boolean getWaitForScan()
-
setWaitForScan
@DataBoundSetter public void setWaitForScan(boolean waitForScan)
-
getStopIfFailed
public boolean getStopIfFailed()
-
setStopIfFailed
@DataBoundSetter public void setStopIfFailed(boolean stopIfFailed)
-
getFailThreshold
public String getFailThreshold()
-
setFailThreshold
@DataBoundSetter public void setFailThreshold(String failThreshold)
-
perform
public void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
IOException
-
-