Class SmartRetryGlobalConfiguration

java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.jenkins.plugins.smart_retry.config.SmartRetryGlobalConfiguration
All Implemented Interfaces:
ExtensionPoint, Describable<GlobalConfiguration>, Saveable, Loadable, OnMaster

@Extension public final class SmartRetryGlobalConfiguration extends GlobalConfiguration
  • Constructor Details

    • SmartRetryGlobalConfiguration

      public SmartRetryGlobalConfiguration()
  • Method Details

    • get

      public static SmartRetryGlobalConfiguration get()
    • getDefaultProfile

      public String getDefaultProfile()
    • setDefaultProfile

      @DataBoundSetter public void setDefaultProfile(@CheckForNull String defaultProfile)
    • getConsoleContextLines

      public int getConsoleContextLines()
    • setConsoleContextLines

      @DataBoundSetter public void setConsoleContextLines(int consoleContextLines)
    • getMaxRetries

      public int getMaxRetries()
    • setMaxRetries

      @DataBoundSetter public void setMaxRetries(int maxRetries)
    • getBackoff

      public String getBackoff()
    • setBackoff

      @DataBoundSetter public void setBackoff(@CheckForNull String backoff)
    • getInitialDelaySeconds

      public int getInitialDelaySeconds()
    • setInitialDelaySeconds

      @DataBoundSetter public void setInitialDelaySeconds(int initialDelaySeconds)
    • getCustomProfiles

      public List<CustomProfileSettings> getCustomProfiles()
    • setCustomProfiles

      @DataBoundSetter public void setCustomProfiles(@CheckForNull List<CustomProfileSettings> customProfiles)
    • getProfileSettings

      public RuntimeSettings getProfileSettings(String profileName)
    • resolveStepSettings

      public RuntimeSettings resolveStepSettings(@CheckForNull String requestedProfile, @CheckForNull Integer maxRetriesOverride, @CheckForNull String backoffOverride, @CheckForNull Integer initialDelaySecondsOverride)
    • getDisabledBuiltInRules

      public String getDisabledBuiltInRules()
    • getDisabledBuiltInRuleIds

      public Set<String> getDisabledBuiltInRuleIds()
    • setDisabledBuiltInRules

      @DataBoundSetter public void setDisabledBuiltInRules(@CheckForNull String disabledBuiltInRules)
    • getCustomClassificationRules

      public List<CustomClassificationRule> getCustomClassificationRules()
    • setCustomClassificationRules

      @DataBoundSetter public void setCustomClassificationRules(@CheckForNull List<CustomClassificationRule> customClassificationRules)
    • configure

      @POST public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException
      Overrides:
      configure in class GlobalConfiguration
      Throws:
      Descriptor.FormException
    • doFillDefaultProfileItems

      @POST public ListBoxModel doFillDefaultProfileItems()
    • doFillBackoffItems

      @POST public ListBoxModel doFillBackoffItems()
    • doCheckDefaultProfile

      @POST public FormValidation doCheckDefaultProfile(@QueryParameter String value)
    • doCheckDisabledBuiltInRules

      @POST public FormValidation doCheckDisabledBuiltInRules(@QueryParameter String value)
    • doCheckCustomClassificationRules

      @POST public FormValidation doCheckCustomClassificationRules(@QueryParameter String value)
    • doCheckConsoleContextLines

      @POST public FormValidation doCheckConsoleContextLines(@QueryParameter String value)
    • doCheckMaxRetries

      @POST public FormValidation doCheckMaxRetries(@QueryParameter String value)
    • doCheckInitialDelaySeconds

      @POST public FormValidation doCheckInitialDelaySeconds(@QueryParameter String value)