Class InvisibleActionHostingImages

java.lang.Object
com.piketec.jenkins.plugins.tpt.publisher.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, Synopsys Inc.
  • Constructor Details

    • 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 Details

    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getIconFileName

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

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • 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