Class ATXReport
- java.lang.Object
-
- de.tracetronic.jenkins.plugins.ecutest.report.AbstractRequestHandler
-
- de.tracetronic.jenkins.plugins.ecutest.report.AbstractTestReport
-
- de.tracetronic.jenkins.plugins.ecutest.report.atx.ATXReport
-
- All Implemented Interfaces:
ModelObject
public class ATXReport extends AbstractTestReport
Holds a link to ATX report. The build that holds the report artifact is resolved byStaplerRequest.findAncestorObject(Class)
at runtime.
-
-
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)
Redirects to URL that is requested via HTTP.protected VirtualFile
getArchiveTargetDir(File rootDir)
Gets the archive target directory for use inAbstractRequestHandler.doZipDownload(org.kohsuke.stapler.StaplerRequest, org.kohsuke.stapler.StaplerResponse)
.String
getReportUrl()
boolean
hasTrendReport()
Currently only packages can contain an additional trend report.void
setReportUrl(String reportUrl)
Sets the report URL.-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.AbstractTestReport
addSubReport, addSubReports, getBuild, getDisplayName, getId, getSubReports, getTitle, getUrl
-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.AbstractRequestHandler
doZipDownload, getAnchestorBuild, getAnchestorProject, getBuildAction, getOwner
-
-
-
-
Method Detail
-
getReportUrl
public String getReportUrl()
-
setReportUrl
public void setReportUrl(String reportUrl)
Sets the report URL.- Parameters:
reportUrl
- the new report URL
-
hasTrendReport
public boolean hasTrendReport()
Currently only packages can contain an additional trend report.- Returns:
true
if has a trend report,false
otherwise
-
doDynamic
public void doDynamic(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
Redirects to URL that is requested via HTTP.- Parameters:
req
- theStaplerRequest
used for access this reportrsp
- theStaplerResponse
used for redirecting to the report- Throws:
IOException
- signals that an I/O exception has occurred
-
getArchiveTargetDir
protected VirtualFile getArchiveTargetDir(File rootDir)
Description copied from class:AbstractRequestHandler
Gets the archive target directory for use inAbstractRequestHandler.doZipDownload(org.kohsuke.stapler.StaplerRequest, org.kohsuke.stapler.StaplerResponse)
.- Specified by:
getArchiveTargetDir
in classAbstractRequestHandler
- Parameters:
rootDir
- the root directory- Returns:
- the archive target directory
-
-