Class VulnerabilityTrendRecorder.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<Publisher>
hudson.tasks.BuildStepDescriptor<Publisher>
com.aspectsecurity.contrast.contrastjenkins.VulnerabilityTrendRecorder.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
VulnerabilityTrendRecorder

@Extension public static class VulnerabilityTrendRecorder.DescriptorImpl extends BuildStepDescriptor<Publisher>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • isAllowGlobalThresholdConditionsOverride

      @JavaScriptMethod public boolean isAllowGlobalThresholdConditionsOverride(@AncestorInPath Item item, String teamServerProfileName)
    • doFillTeamServerProfileNameItems

      public ListBoxModel doFillTeamServerProfileNameItems(@AncestorInPath Item item)
    • isApplicable

      public boolean isApplicable(Class<? extends AbstractProject> aClass)
      Allows this builder to be available for all classes.
      Specified by:
      isApplicable in class BuildStepDescriptor<Publisher>
      Parameters:
      aClass - Passed in class.
      Returns:
      true
    • getDisplayName

      public String getDisplayName()
      Display name in the Build Action dropdown.
      Overrides:
      getDisplayName in class Descriptor<Publisher>
      Returns:
      String
    • newInstance

      public Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
      Save's the publisher's config.jelly data.
      Overrides:
      newInstance in class Descriptor<Publisher>
      Parameters:
      req - StaplerRequest
      json - Json of the form for this Publisher
      Returns:
      if the save was successful
    • getConditions

      public List<ThresholdCondition> getConditions()
    • setConditions

      public void setConditions(List<ThresholdCondition> conditions)