Class AbstractETLogAction
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.report.AbstractRequestHandler
de.tracetronic.jenkins.plugins.ecutest.report.AbstractReportAction
de.tracetronic.jenkins.plugins.ecutest.report.log.AbstractETLogAction
- All Implemented Interfaces:
Action
,ModelObject
,IconSpec
- Direct Known Subclasses:
ETLogBuildAction
,ETLogProjectAction
Common base class for
ETLogBuildAction
and ETLogProjectAction
.-
Constructor Summary
ConstructorsConstructorDescriptionAbstractETLogAction
(boolean projectLevel) Instantiates a newAbstractETLogAction
. -
Method Summary
Modifier and TypeMethodDescriptionRun<?,
?> getLastReportBuild
(Job<?, ?> project) Gets the last build with report artifacts in a project.static int
Gets the maximum size of logs to show.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 Details
-
AbstractETLogAction
public AbstractETLogAction(boolean projectLevel) Instantiates a newAbstractETLogAction
.- Parameters:
projectLevel
- specifies whether archiving is restricted to project level only
-
-
Method Details
-
getMaxLogSize
public static int getMaxLogSize()Gets the maximum size of logs to show.- Returns:
- the max log size
-
getLastReportBuild
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
-
getIconClassName
-