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, 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 responseRun<?,?>
getBuild()
String
getDisplayName()
String
getIconFileName()
Object
getTarget()
String
getUrlName()
void
setBuild(Run<?,?> build)
Set the Jenkins build for this action
-
-
-
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
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
getTarget
public Object getTarget()
- Specified by:
getTarget
in interfaceorg.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 requestrsp
- The response- Throws:
IOException
- if the response could not be generatedjavax.servlet.ServletException
- if the response could not be generated
-
-