Class TRFBuildAction
- java.lang.Object
-
- de.tracetronic.jenkins.plugins.ecutest.report.AbstractRequestHandler
-
- de.tracetronic.jenkins.plugins.ecutest.report.AbstractReportAction
-
- de.tracetronic.jenkins.plugins.ecutest.report.trf.AbstractTRFAction
-
- de.tracetronic.jenkins.plugins.ecutest.report.trf.TRFBuildAction
-
- All Implemented Interfaces:
Action
,ModelObject
,SimpleBuildStep.LastBuildAction
,IconSpec
public class TRFBuildAction extends AbstractTRFAction implements SimpleBuildStep.LastBuildAction
Action to show a link toTRFReport
s at the build page.
-
-
Constructor Summary
Constructors Constructor Description TRFBuildAction(boolean projectLevel)
Instantiates a newTRFBuildAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(TRFReport report)
Adds a TRF report.void
addAll(Collection<TRFReport> reports)
Adds a bundle of TRF reports.String
getDisplayName()
AbstractTestReport
getDynamic(String token)
ReturnsTRFReport
specified by the URL.Collection<? extends Action>
getProjectActions()
List<TRFReport>
getTRFReports()
Gets the TRF reports.-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.trf.AbstractTRFAction
getIconClassName, getLastReportBuild, getUrlName
-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.AbstractReportAction
getArchiveTargetDir, getBuild, getIconFileName, isProjectLevel
-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.AbstractRequestHandler
doZipDownload, getAnchestorBuild, getAnchestorProject, getBuildAction, getOwner
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.model.Action
getIconFileName, getUrlName
-
-
-
-
Constructor Detail
-
TRFBuildAction
public TRFBuildAction(boolean projectLevel)
Instantiates a newTRFBuildAction
.- Parameters:
projectLevel
- specifies whether archiving is restricted to project level only
-
-
Method Detail
-
add
public void add(TRFReport report)
Adds a TRF report.- Parameters:
report
- the TRF report to add
-
addAll
public void addAll(Collection<TRFReport> reports)
Adds a bundle of TRF reports.- Parameters:
reports
- the collection of TRF reports
-
getDynamic
public AbstractTestReport getDynamic(String token)
ReturnsTRFReport
specified by the URL.- Parameters:
token
- the URL token- Returns:
- the
TRFReport
ornull
if no proper report exists
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getProjectActions
public Collection<? extends Action> getProjectActions()
- Specified by:
getProjectActions
in interfaceSimpleBuildStep.LastBuildAction
-
-