Class ETLogReport
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.report.AbstractRequestHandler
de.tracetronic.jenkins.plugins.ecutest.report.AbstractTestReport
de.tracetronic.jenkins.plugins.ecutest.report.AbstractArchiveFileReport
de.tracetronic.jenkins.plugins.ecutest.report.log.ETLogReport
- All Implemented Interfaces:
ModelObject
Holds a link to the ecu.test log report. The build that holds the artifact is resolved by
StaplerRequest.findAncestorObject(Class)
at runtime.-
Constructor Summary
ConstructorDescriptionETLogReport
(String id, String title, String fileName, long fileSize, List<ETLogAnnotation> logs, int warningLogCount, int errorLogCount) Instantiates a newETLogReport
. -
Method Summary
Modifier and TypeMethodDescriptionGets the archive directory containing the stored files.int
Gets the total count of error logs.Gets the error logs.getLogs()
int
Gets the total count of warning logs including all sub reports.int
Gets the total count of warning logs including all sub reports.int
Gets the total count of warning logs.Gets the warning logs.Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.AbstractArchiveFileReport
doDynamic, getArchiveTargetDir, getFileName, getFileSize
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.AbstractTestReport
addSubReport, addSubReports, getBuild, getDisplayName, getId, getSubReports, getTitle, getUrl
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.AbstractRequestHandler
doZipDownload, getAnchestorBuild, getAnchestorProject, getBuildAction, getOwner
-
Constructor Details
-
ETLogReport
public ETLogReport(String id, String title, String fileName, long fileSize, List<ETLogAnnotation> logs, int warningLogCount, int errorLogCount) Instantiates a newETLogReport
.- Parameters:
id
- the id used in the report URLtitle
- the report titlefileName
- the log file namefileSize
- the log file sizelogs
- the list of annotated logswarningLogCount
- the total count of warning logserrorLogCount
- the total count of error logs
-
-
Method Details
-
getLogs
-
getWarningLogs
Gets the warning logs.- Returns:
- the warning logs
-
getErrorLogs
Gets the error logs.- Returns:
- the error logs
-
getWarningLogCount
public int getWarningLogCount()Gets the total count of warning logs.- Returns:
- the warningLogCount
-
getErrorLogCount
public int getErrorLogCount()Gets the total count of error logs.- Returns:
- the errorLogCount
-
getTotalWarningCount
public int getTotalWarningCount()Gets the total count of warning logs including all sub reports.- Returns:
- the total warning log count
-
getTotalErrorCount
public int getTotalErrorCount()Gets the total count of warning logs including all sub reports.- Returns:
- the total error log count
-
getArchiveDir
Description copied from class:AbstractArchiveFileReport
Gets the archive directory containing the stored files.- Specified by:
getArchiveDir
in classAbstractArchiveFileReport
- Returns:
- the archive directory
-