Class AdvisorGlobalConfiguration

    • Constructor Detail

      • AdvisorGlobalConfiguration

        public AdvisorGlobalConfiguration()
    • Method Detail

      • getCategoryName

        @Nonnull
        public String getCategoryName()
        Name of the category for this management link. TBD: Use getCategory when core requirement is greater or equal to 2.226
        Overrides:
        getCategoryName in class ManagementLink
      • getActionTitle

        public String getActionTitle()
      • getActionDisclaimer

        public String getActionDisclaimer()
      • getDisclaimer

        public String getDisclaimer()
      • isNagDisabled

        public boolean isNagDisabled()
      • setNagDisabled

        @DataBoundSetter
        public void setNagDisabled​(boolean nagDisabled)
      • isAcceptToS

        public boolean isAcceptToS()
      • setAcceptToS

        @DataBoundSetter
        public void setAcceptToS​(boolean acceptToS)
      • getLastBundleResult

        public String getLastBundleResult()
      • setLastBundleResult

        @DataBoundSetter
        public void setLastBundleResult​(String lastBundleResult)
      • readResolve

        protected Object readResolve()
      • doConfigure

        @Nonnull
        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public org.kohsuke.stapler.HttpResponse doConfigure​(@Nonnull
                                                            org.kohsuke.stapler.StaplerRequest req)
        Handles the form submission
        Parameters:
        req - the request.
        Returns:
        the response.
      • getEmail

        public String getEmail()
      • setEmail

        @DataBoundSetter
        public void setEmail​(@CheckForNull
                             String email)
      • setCcs

        @DataBoundSetter
        public void setCcs​(List<Recipient> ccs)
      • getExcludedComponents

        @Nonnull
        public Set<String> getExcludedComponents()
      • setExcludedComponents

        @DataBoundSetter
        public void setExcludedComponents​(Set<String> excludedComponents)
      • getIncludedComponents

        public List<com.cloudbees.jenkins.support.api.Component> getIncludedComponents()
      • selectedByDefault

        public boolean selectedByDefault​(com.cloudbees.jenkins.support.api.Component c)
      • getComponents

        public List<com.cloudbees.jenkins.support.api.Component> getComponents()
      • isValid

        public boolean isValid()
      • isValid

        public static boolean isValid​(boolean logErrors,
                                      boolean acceptToS,
                                      String email,
                                      List<Recipient> ccs)
      • save

        public void save()
        Specified by:
        save in interface Saveable
      • load

        public void load()