Class AbstractReportGeneratorAction
- 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
-
- All Implemented Interfaces:
Action
,ModelObject
,IconSpec
- Direct Known Subclasses:
ReportGeneratorBuildAction
,ReportGeneratorProjectAction
public abstract class AbstractReportGeneratorAction extends AbstractReportAction
Common base class forReportGeneratorBuildAction
andReportGeneratorProjectAction
.
-
-
Constructor Summary
Constructors Constructor Description AbstractReportGeneratorAction(boolean projectLevel)
Instantiates a newAbstractReportGeneratorAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIconClassName()
Run<?,?>
getLastReportBuild(Job<?,?> project)
Gets the last build with report artifacts in a project.String
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
getDisplayName
-
-
-
-
Constructor Detail
-
AbstractReportGeneratorAction
public AbstractReportGeneratorAction(boolean projectLevel)
Instantiates a newAbstractReportGeneratorAction
.- Parameters:
projectLevel
- specifies whether archiving is restricted to project level only
-
-
Method Detail
-
getLastReportBuild
public Run<?,?> getLastReportBuild(Job<?,?> project)
Description copied from class:AbstractReportAction
Gets the last build with report artifacts in a project.- Specified by:
getLastReportBuild
in classAbstractReportAction
- Parameters:
project
- the project- Returns:
- the last build with report artifacts or
null
if no proper build exists
-
getUrlName
public String getUrlName()
-
getIconClassName
public String getIconClassName()
-
-