Class ReportGeneratorBuildAction
- java.lang.Object
-
- de.tracetronic.jenkins.plugins.ecutest.report.AbstractRequestHandler
-
- de.tracetronic.jenkins.plugins.ecutest.report.AbstractReportAction
-
- de.tracetronic.jenkins.plugins.ecutest.report.generator.AbstractReportGeneratorAction
-
- de.tracetronic.jenkins.plugins.ecutest.report.generator.ReportGeneratorBuildAction
-
- All Implemented Interfaces:
Action
,ModelObject
,SimpleBuildStep.LastBuildAction
,IconSpec
public class ReportGeneratorBuildAction extends AbstractReportGeneratorAction implements SimpleBuildStep.LastBuildAction
Action to show a link toGeneratorReport
s at the build page.
-
-
Constructor Summary
Constructors Constructor Description ReportGeneratorBuildAction(boolean projectLevel)
Instantiates a newReportGeneratorBuildAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(GeneratorReport report)
Adds a generator report.void
addAll(Collection<GeneratorReport> reports)
Adds a bundle of generator reports.String
getDisplayName()
AbstractTestReport
getDynamic(String token)
ReturnsGeneratorReport
specified by the URL.List<GeneratorReport>
getGeneratorReports()
Gets the generator reports.Collection<? extends Action>
getProjectActions()
-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.generator.AbstractReportGeneratorAction
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
-
ReportGeneratorBuildAction
public ReportGeneratorBuildAction(boolean projectLevel)
Instantiates a newReportGeneratorBuildAction
.- Parameters:
projectLevel
- specifies whether archiving is restricted to project level only
-
-
Method Detail
-
getGeneratorReports
public List<GeneratorReport> getGeneratorReports()
Gets the generator reports.- Returns:
- the generator reports
-
add
public void add(GeneratorReport report)
Adds a generator report.- Parameters:
report
- the generator report to add
-
addAll
public void addAll(Collection<GeneratorReport> reports)
Adds a bundle of generator reports.- Parameters:
reports
- the collection of generator reports
-
getDynamic
public AbstractTestReport getDynamic(String token)
ReturnsGeneratorReport
specified by the URL.- Parameters:
token
- the URL token- Returns:
- the
GeneratorReport
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
-
-