Class NCScanBuilder

All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep, SimpleBuildStep

public class NCScanBuilder extends Builder implements SimpleBuildStep
  • Constructor Details

    • NCScanBuilder

      @DataBoundConstructor public NCScanBuilder(String ncScanType, String ncWebsiteId, String ncProfileId, Boolean ncDoNotFail, String ncReportType)
  • Method Details

    • getNcSeverity

      public String getNcSeverity()
    • getNcStopScan

      public Boolean getNcStopScan()
    • getNcConfirmed

      public Boolean getNcConfirmed()
    • getNcDoNotFail

      public Boolean getNcDoNotFail()
    • getNcScanType

      public String getNcScanType()
    • getCredentialsId

      public String getCredentialsId()
    • getFilters

      public IgnoredVulnerabilityStateFilters getFilters()
    • setFilters

      public void setFilters()
    • setCredentialsId

      @DataBoundSetter public void setCredentialsId(String credentialsId)
    • setNcScanType

      public void setNcScanType(String ncScanType)
    • getNcWebsiteId

      public String getNcWebsiteId()
    • setNcWebsiteId

      public void setNcWebsiteId(String ncTargetURL)
    • getNcProfileId

      public String getNcProfileId()
    • setNcProfileId

      public void setNcProfileId(String ncProfileId)
    • getNcServerURL

      public String getNcServerURL()
    • setNcSeverity

      @DataBoundSetter public void setNcSeverity(String ncSeverity)
    • setNcStopScan

      @DataBoundSetter public void setNcStopScan(Boolean ncStopScan)
    • setNcConfirmed

      @DataBoundSetter public void setNcConfirmed(Boolean ncConfirmed)
    • setNcDoNotFail

      @DataBoundSetter public void setNcDoNotFail(Boolean ncDoNotFail)
    • setNcServerURL

      @DataBoundSetter public void setNcServerURL(String ncServerURL)
    • getNcApiToken

      public Secret getNcApiToken()
    • setNcApiToken

      @DataBoundSetter public void setNcApiToken(Object ncApiToken)
    • getNcIgnoreFalsePositive

      public Boolean getNcIgnoreFalsePositive()
    • setNcIgnoreFalsePositive

      @DataBoundSetter public void setNcIgnoreFalsePositive(Boolean ncIgnoreFalsePositive)
    • getNcIgnoreRiskAccepted

      public Boolean getNcIgnoreRiskAccepted()
    • setNcIgnoreRiskAccepted

      @DataBoundSetter public void setNcIgnoreRiskAccepted(Boolean ncIgnoreRiskAccepted)
    • getNcReportType

      public String getNcReportType()
    • setNcReportType

      @DataBoundSetter public void setNcReportType(String ncReportType)
    • setScanTaskId

      public void setScanTaskId(String ncScanTaskId)
    • getScanTaskId

      public String getScanTaskId()
    • setCancelState

      public void setCancelState(Boolean ncCancelEventFired)
    • getCancelState

      public Boolean getCancelState()
    • setNcAbortScan

      @DataBoundSetter public void setNcAbortScan(Boolean ncAbortScan)
    • getNcAbortScan

      public Boolean getNcAbortScan()
    • setUseProxy

      @DataBoundSetter public void setUseProxy(Boolean useProxy)
    • getUseProxy

      public Boolean getUseProxy()
    • setpHost

      @DataBoundSetter public void setpHost(String pHost)
    • getpHost

      public String getpHost()
    • setpPort

      @DataBoundSetter public void setpPort(String pPort)
    • getpPort

      public String getpPort()
    • setpUser

      @DataBoundSetter public void setpUser(String pUser)
    • getpUser

      public String getpUser()
    • setpPassword

      @DataBoundSetter public void setpPassword(String pPassword)
    • getpPassword

      public String getpPassword()
    • perform

      public void perform(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
      Specified by:
      perform in interface SimpleBuildStep
      Throws:
      InterruptedException
      IOException
    • getDescriptor

      public NCScanBuilder.DescriptorImpl getDescriptor()
      Specified by:
      getDescriptor in interface Describable<Builder>
      Overrides:
      getDescriptor in class Builder