Package com.qualys.plugins.wasPlugin
Class WASScanNotifier
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Notifier
-
- com.qualys.plugins.wasPlugin.WASScanNotifier
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
@Extension public class WASScanNotifier extends Notifier implements SimpleBuildStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WASScanNotifier.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
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 WASScanNotifier()
WASScanNotifier(String apiServer, String credsId)
-
Method Summary
-
Methods inherited from class hudson.tasks.Notifier
getDescriptor
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, 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, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Method Detail
-
getPlatform
public String getPlatform()
-
setPlatform
@DataBoundSetter public void setPlatform(String platform)
-
getPollingInterval
public String getPollingInterval()
-
setPollingInterval
@DataBoundSetter public void setPollingInterval(String pollingInterval)
-
getVulnsTimeout
public String getVulnsTimeout()
-
setVulnsTimeout
@DataBoundSetter public void setVulnsTimeout(String vulnsTimeout)
-
getIsFailOnQidFound
public boolean getIsFailOnQidFound()
-
setIsFailOnQidFound
@DataBoundSetter public void setIsFailOnQidFound(boolean isFailOnQidFound)
-
getQidList
public String getQidList()
-
setQidList
@DataBoundSetter public void setQidList(String qidList)
-
setSeverity1Limit
@DataBoundSetter public void setSeverity1Limit(int severity1Limit)
-
getSeverity1Limit
public int getSeverity1Limit()
-
setSeverity2Limit
@DataBoundSetter public void setSeverity2Limit(int severity2Limit)
-
getSeverity2Limit
public int getSeverity2Limit()
-
setSeverity3Limit
@DataBoundSetter public void setSeverity3Limit(int severity3Limit)
-
getSeverity3Limit
public int getSeverity3Limit()
-
setSeverity4Limit
@DataBoundSetter public void setSeverity4Limit(int severity4Limit)
-
getSeverity4Limit
public int getSeverity4Limit()
-
setSeverity5Limit
@DataBoundSetter public void setSeverity5Limit(int severity5Limit)
-
getSeverity5Limit
public int getSeverity5Limit()
-
setIsSev1Vulns
@DataBoundSetter public void setIsSev1Vulns(boolean isSev1Vulns)
-
getIsSev1Vulns
public boolean getIsSev1Vulns()
-
setIsSev2Vulns
@DataBoundSetter public void setIsSev2Vulns(boolean isSev2Vulns)
-
getIsSev2Vulns
public boolean getIsSev2Vulns()
-
setIsSev3Vulns
@DataBoundSetter public void setIsSev3Vulns(boolean isSev3Vulns)
-
getIsSev3Vulns
public boolean getIsSev3Vulns()
-
setIsSev4Vulns
@DataBoundSetter public void setIsSev4Vulns(boolean isSev4Vulns)
-
getIsSev4Vulns
public boolean getIsSev4Vulns()
-
setIsSev5Vulns
@DataBoundSetter public void setIsSev5Vulns(boolean isSev5Vulns)
-
getIsSev5Vulns
public boolean getIsSev5Vulns()
-
setCancelHours
@DataBoundSetter public void setCancelHours(String cancelHours)
-
getCancelHours
public String getCancelHours()
-
setOptionProfileId
@DataBoundSetter public void setOptionProfileId(String optionProfileId)
-
getOptionProfileId
public String getOptionProfileId()
-
setAuthRecordId
@DataBoundSetter public void setAuthRecordId(String authRecordId)
-
getAuthRecordId
public String getAuthRecordId()
-
setCancelOptions
@DataBoundSetter public void setCancelOptions(String cancelOptions)
-
getCancelOptions
public String getCancelOptions()
-
setOptionProfile
@DataBoundSetter public void setOptionProfile(String optionProfile)
-
getOptionProfile
public String getOptionProfile()
-
setAuthRecord
@DataBoundSetter public void setAuthRecord(String authRecord)
-
getAuthRecord
public String getAuthRecord()
-
setScanType
@DataBoundSetter public void setScanType(String scanType)
-
getScanType
public String getScanType()
-
setScanName
@DataBoundSetter public void setScanName(String scanName)
-
getScanName
public String getScanName()
-
setWebAppId
@DataBoundSetter public void setWebAppId(String webAppId)
-
setApiServer
@DataBoundSetter public void setApiServer(String server)
-
getWebAppId
public String getWebAppId()
-
getApiServer
public String getApiServer()
-
getProxyServer
public String getProxyServer()
-
setProxyServer
@DataBoundSetter public void setProxyServer(String proxyServer)
-
getProxyPort
public int getProxyPort()
-
setProxyPort
@DataBoundSetter public void setProxyPort(int proxyPort)
-
getProxyCredentialsId
public String getProxyCredentialsId()
-
setProxyCredentialsId
@DataBoundSetter public void setProxyCredentialsId(String proxyCredentialsId)
-
getUseProxy
public boolean getUseProxy()
-
setUseProxy
@DataBoundSetter public void setUseProxy(boolean useProxy)
-
setCredsId
@DataBoundSetter public void setCredsId(String cred)
-
getCredsId
public String getCredsId()
-
setFailOnScanError
@DataBoundSetter public void setFailOnScanError(boolean failOnScanError)
-
getFailOnScanError
public boolean getFailOnScanError()
-
getCriteriaAsJsonObject
public com.google.gson.JsonObject getCriteriaAsJsonObject()
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws AbortException
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
AbortException
-
perform
public void perform(@Nonnull Run<?,?> run, @Nonnull FilePath filePath, @Nonnull Launcher launcher, @Nonnull TaskListener taskListener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
-