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, Synopsys Inc.
  • Constructor Details

    • InvisibleActionHostingHtml

      public InvisibleActionHostingHtml()
  • Method Details

    • 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 request
      rsp - The response
      Throws:
      IOException - If an IO error occures
      javax.servlet.ServletException - If the response could not be generated