public class OpenReportForFailedTestAction extends Object implements hudson.model.Action, org.kohsuke.stapler.StaplerProxy
| Constructor and Description |
|---|
OpenReportForFailedTestAction(hudson.model.AbstractBuild<?,?> build,
String fileName,
String reportFile,
String id,
String exConfig,
String platform,
String date)
This class is made for generating the failed html on the TPTReportPage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doDynamic(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
This method is called when an object from this class is created.
|
String |
getDisplayName() |
String |
getExecutionConfiguration() |
String |
getIconFileName() |
String |
getName() |
String |
getPlatform() |
Object |
getTarget() |
String |
getUrlName() |
void |
setExecutionConfiguration(String executionConfiguration)
set the name of the TPT execution configuration
|
void |
setPlatform(String platform)
Set the name of the TPT platform configuration
|
public OpenReportForFailedTestAction(hudson.model.AbstractBuild<?,?> build,
String fileName,
String reportFile,
String id,
String exConfig,
String platform,
String date)
build - The current jenkins buildfileName - The name of the tpt filereportFile - the path to the report fileid - the test case idexConfig - the name of the execution configurationplatform - the name of the platformdate - the execution datepublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic Object getTarget()
getTarget in interface org.kohsuke.stapler.StaplerProxypublic String getName()
public void doDynamic(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
javax.servlet.ServletException
req - The requestrsp - The responseIOException - if the response could not be generatedjavax.servlet.ServletException - if the response could not be generatedpublic String getExecutionConfiguration()
public void setExecutionConfiguration(String executionConfiguration)
executionConfiguration - the name of the TPT execution configurationpublic String getPlatform()
public void setPlatform(String platform)
platform - The name of the TPT platform configurationCopyright © 2016–2018 PikeTec GmbH. All rights reserved.