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
public abstract class InvisibleActionHostingHtml extends InvisibleAction
An invisibale action to show HTML reports- Author:
- FInfantino, PikeTec GmbH
-
-
Constructor Summary
Constructors Constructor Description InvisibleActionHostingHtml()
-
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)
This method is called when an InvisibleActionHostingHtml object is created.String
getJenkinsConfigId()
protected File
pathToHtml()
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
-
-
-
-
Method Detail
-
getJenkinsConfigId
public String getJenkinsConfigId()
- Returns:
- The name of the executed platform
-
setJenkinsConfigId
public void setJenkinsConfigId(String jenkinsConfigId)
Set the unique id of the jenkins configuartion that test case ran on.- Parameters:
jenkinsConfigId
- The unique id
-
pathToHtml
protected File 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
-
-