Class InvisibleActionHostingImages

  • All Implemented Interfaces:
    Action, ModelObject, org.kohsuke.stapler.StaplerProxy

    public class InvisibleActionHostingImages
    extends Object
    implements Action, org.kohsuke.stapler.StaplerProxy
    An invisible action to display images
    Author:
    FInfantino, PikeTec GmbH
    • Constructor Detail

      • InvisibleActionHostingImages

        public InvisibleActionHostingImages​(Run<?,​?> build)
        Similar to InvisibleActionHostingHtml but with the images, such as the pie chart. @see InvisibleActionHostingHtml.
        Parameters:
        build - The current jenkins build
    • Method Detail

      • getTarget

        public Object getTarget()
        Specified by:
        getTarget in interface org.kohsuke.stapler.StaplerProxy
      • getBuild

        public Run<?,​?> getBuild()
        Returns:
        The jenkins build this action belongs to
      • setBuild

        public void setBuild​(Run<?,​?> build)
        Set the Jenkins build for this action
        Parameters:
        build - The current jenkins build
      • doDynamic

        public void doDynamic​(org.kohsuke.stapler.StaplerRequest req,
                              org.kohsuke.stapler.StaplerResponse rsp)
                       throws IOException,
                              javax.servlet.ServletException
        Implicitly called jelly to create a html response
        Parameters:
        req - The request
        rsp - The response
        Throws:
        IOException - if the response could not be generated
        javax.servlet.ServletException - if the response could not be generated