Class InvisibleActionHostingHtml
java.lang.Object
hudson.model.InvisibleAction
com.piketec.jenkins.plugins.tpt.publisher.InvisibleActionHostingHtml
- All Implemented Interfaces:
Action
,ModelObject
- Direct Known Subclasses:
TPTFile
,TPTTestCase
An invisibale action to show HTML reports
- Author:
- FInfantino, Synopsys Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doDynamic
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) This method is called when an InvisibleActionHostingHtml object is created.protected File
void
setJenkinsConfigId
(String jenkinsConfigId) Set the unique id of the jenkins configuartion that test case ran on.Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
-
Constructor Details
-
InvisibleActionHostingHtml
public InvisibleActionHostingHtml()
-
-
Method Details
-
getJenkinsConfigId
- Returns:
- The name of the executed platform
-
setJenkinsConfigId
Set the unique id of the jenkins configuartion that test case ran on.- Parameters:
jenkinsConfigId
- The unique id
-
pathToHtml
- Returns:
- The path to the html file
-
doDynamic
public void doDynamic(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException This method is called when an InvisibleActionHostingHtml object is created. It displays the "index.html"- Parameters:
req
- The requestrsp
- The response- Throws:
IOException
- If an IO error occuresjavax.servlet.ServletException
- If the response could not be generated
-