Class ATXProjectAction<T extends AbstractTestReport>
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.report.AbstractRequestHandler
de.tracetronic.jenkins.plugins.ecutest.report.AbstractReportAction
de.tracetronic.jenkins.plugins.ecutest.report.atx.AbstractATXAction
de.tracetronic.jenkins.plugins.ecutest.report.atx.ATXProjectAction<T>
- Type Parameters:
T- the report type, eitherATXReportorATXZipReport
- All Implemented Interfaces:
Action,ModelObject,IconSpec
Action to show a link to
ATXReports in side menu of projects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDynamic(String token, org.kohsuke.stapler.StaplerRequest req) ReturnsATXReportspecified by the URL.getLastBuildAction(org.kohsuke.stapler.StaplerRequest req) Returns theATXBuildActionin the last build that have artifact documents.Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.atx.AbstractATXAction
getIconClassName, getLastReportBuild, getReportIconClassName, getTrendIconClassName, getUrlNameMethods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.AbstractReportAction
getArchiveTargetDir, getBuild, isProjectLevelMethods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.AbstractRequestHandler
doZipDownload, getAnchestorBuild, getAnchestorProject, getBuildAction, getOwner
-
Constructor Details
-
ATXProjectAction
public ATXProjectAction(boolean projectLevel) Instantiates a newATXProjectAction.- Parameters:
projectLevel- specifies whether archiving is restricted to project level only
-
-
Method Details
-
getLastBuildAction
Returns theATXBuildActionin the last build that have artifact documents.Resolves the owner by
StaplerRequest.findAncestorObject(Class).- Parameters:
req- theStaplerRequestused for access this action- Returns:
- the last
ATXBuildActionornullif no proper build exists
-
getDynamic
ReturnsATXReportspecified by the URL.Delegates to the last
ATXBuildAction.- Parameters:
token- the URL tokenreq- theStaplerRequestused for access this action- Returns:
- the requested
ATXReportornullif no proper report exists
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction- Overrides:
getIconFileNamein classAbstractReportAction
-
getDisplayName
-