Class InvisibleActionHostingImages

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

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

      Constructors 
      Constructor Description
      InvisibleActionHostingImages​(Run<?,​?> build)
      Similar to InvisibleActionHostingHtml but with the images, such as the pie chart.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doDynamic​(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
      Implicitly called jelly to create a html response
      Run<?,​?> getBuild()  
      java.lang.String getDisplayName()  
      java.lang.String getIconFileName()  
      java.lang.Object getTarget()  
      java.lang.String getUrlName()  
      void setBuild​(Run<?,​?> build)
      Set the Jenkins build for this action
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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

      • getIconFileName

        public java.lang.String getIconFileName()
        Specified by:
        getIconFileName in interface Action
      • getUrlName

        public java.lang.String getUrlName()
        Specified by:
        getUrlName in interface Action
      • getTarget

        public java.lang.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 java.io.IOException,
                              javax.servlet.ServletException
        Implicitly called jelly to create a html response
        Parameters:
        req - The request
        rsp - The response
        Throws:
        java.io.IOException - if the response could not be generated
        javax.servlet.ServletException - if the response could not be generated