Class TraceAnalysisProjectAction
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.report.AbstractRequestHandler
de.tracetronic.jenkins.plugins.ecutest.report.AbstractReportAction
de.tracetronic.jenkins.plugins.ecutest.report.ta.AbstractTraceAnalysisAction
de.tracetronic.jenkins.plugins.ecutest.report.ta.TraceAnalysisProjectAction
- All Implemented Interfaces:
Action
,ModelObject
,IconSpec
Action to show a link to
TraceAnalysisReport
s in side menu of projects.-
Constructor Summary
ConstructorDescriptionTraceAnalysisProjectAction
(boolean projectLevel) Instantiates a newTraceAnalysisProjectAction
. -
Method Summary
Modifier and TypeMethodDescriptiongetDynamic
(String token, org.kohsuke.stapler.StaplerRequest req) ReturnsTraceAnalysisReport
specified by the URL.getLastBuildAction
(org.kohsuke.stapler.StaplerRequest req) Returns theTraceAnalysisBuildAction
in the last build that have artifact documents.Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.ta.AbstractTraceAnalysisAction
getIconClassName, getLastReportBuild, getReportIconClassName, getUrlName
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.AbstractReportAction
getArchiveTargetDir, getBuild, isProjectLevel
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.AbstractRequestHandler
doZipDownload, getAnchestorBuild, getAnchestorProject, getBuildAction, getOwner
-
Constructor Details
-
TraceAnalysisProjectAction
public TraceAnalysisProjectAction(boolean projectLevel) Instantiates a newTraceAnalysisProjectAction
.- Parameters:
projectLevel
- specifies whether archiving is restricted to project level only
-
-
Method Details
-
getLastBuildAction
@CheckForNull public TraceAnalysisBuildAction getLastBuildAction(org.kohsuke.stapler.StaplerRequest req) Returns theTraceAnalysisBuildAction
in the last build that have artifact documents.Resolves the owner by
StaplerRequest.findAncestorObject(Class)
.- Parameters:
req
- theStaplerRequest
used for access this action- Returns:
- the last
TraceAnalysisBuildAction
ornull
if no proper build exists
-
getDynamic
ReturnsTraceAnalysisReport
specified by the URL.Delegates to the last
TraceAnalysisBuildAction
.- Parameters:
token
- the URL tokenreq
- theStaplerRequest
used for access this action- Returns:
- the requested
TraceAnalysisReport
ornull
if no proper report exists
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
- Overrides:
getIconFileName
in classAbstractReportAction
-
getDisplayName
-