Class ETLogBuildAction
- 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
-
- de.tracetronic.jenkins.plugins.ecutest.report.log.ETLogBuildAction
-
- All Implemented Interfaces:
Action
,ModelObject
,SimpleBuildStep.LastBuildAction
,IconSpec
public class ETLogBuildAction extends AbstractETLogAction implements SimpleBuildStep.LastBuildAction
Action to show a link toETLogReport
s at the build page.
-
-
Constructor Summary
Constructors Constructor Description ETLogBuildAction(boolean projectLevel)
Instantiates a newETLogBuildAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ETLogReport report)
Adds a ecu.test log report.void
addAll(Collection<ETLogReport> reports)
Adds a bundle of ecu.test log reports.String
getDisplayName()
ETLogReport
getDynamic(String token)
ReturnsETLogReport
specified by the URL.List<ETLogReport>
getLogReports()
Gets the ecu.test log reports.Collection<? extends Action>
getProjectActions()
-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.log.AbstractETLogAction
getIconClassName, getLastReportBuild, getMaxLogSize, 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
-
ETLogBuildAction
public ETLogBuildAction(boolean projectLevel)
Instantiates a newETLogBuildAction
.- Parameters:
projectLevel
- specifies whether archiving is restricted to project level only
-
-
Method Detail
-
getLogReports
public List<ETLogReport> getLogReports()
Gets the ecu.test log reports.- Returns:
- the log reports
-
add
public void add(ETLogReport report)
Adds a ecu.test log report.- Parameters:
report
- the ecu.test log report to add
-
addAll
public void addAll(Collection<ETLogReport> reports)
Adds a bundle of ecu.test log reports.- Parameters:
reports
- the collection of ecu.test log reports
-
getDynamic
public ETLogReport getDynamic(String token)
ReturnsETLogReport
specified by the URL.- Parameters:
token
- the URL token- Returns:
- the
ETLogReport
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
-
-