Class SupportAction

    • Constructor Detail

      • SupportAction

        public SupportAction()
    • Method Detail

      • getTarget

        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public Object getTarget()
        Specified by:
        getTarget in interface org.kohsuke.stapler.StaplerProxy
      • getActionTitleText

        public String getActionTitleText()
      • getActionTitle

        public org.jvnet.localizer.Localizable getActionTitle()
      • getActionBlurb

        public org.jvnet.localizer.Localizable getActionBlurb()
      • getComponents

        @Exported
        @WebMethod(name="components")
        public List<Component> getComponents()
      • getApi

        public final Api getApi()
        Remote API access.
      • isAnonymized

        public boolean isAnonymized()
      • doDeleteBundles

        public void doDeleteBundles​(org.kohsuke.stapler.StaplerRequest req,
                                    org.kohsuke.stapler.StaplerResponse rsp)
                             throws javax.servlet.ServletException,
                                    IOException
        Throws:
        javax.servlet.ServletException
        IOException
      • doDownloadBundles

        public void doDownloadBundles​(org.kohsuke.stapler.StaplerRequest req,
                                      org.kohsuke.stapler.StaplerResponse rsp)
                               throws javax.servlet.ServletException,
                                      IOException
        Throws:
        javax.servlet.ServletException
        IOException
      • doDownload

        public void doDownload​(org.kohsuke.stapler.StaplerRequest req,
                               org.kohsuke.stapler.StaplerResponse rsp)
                        throws javax.servlet.ServletException,
                               IOException
        Generates a support bundle with selected components from the UI.
        Parameters:
        req - The stapler request
        rsp - The stapler response
        Throws:
        javax.servlet.ServletException - If an error occurred during form submission
        IOException - If an input or output exception occurs
      • doGenerateAllBundles

        public void doGenerateAllBundles​(org.kohsuke.stapler.StaplerRequest req,
                                         org.kohsuke.stapler.StaplerResponse rsp)
                                  throws javax.servlet.ServletException,
                                         IOException
        Generates a support bundle with selected components from the UI.
        Parameters:
        req - The stapler request
        rsp - The stapler response
        Throws:
        javax.servlet.ServletException - If an error occurred during form submission
        IOException - If an input or output exception occurs
      • doGenerateBundle

        public void doGenerateBundle​(@QueryParameter("components")
                                     String components,
                                     org.kohsuke.stapler.StaplerResponse rsp)
                              throws IOException
        Generates a support bundle with only requested components.
        Parameters:
        components - component names separated by comma.
        rsp - The stapler response
        Throws:
        IOException - If an input or output exception occurs
      • selectedByDefault

        public boolean selectedByDefault​(Component c)