Class ETLogParser
- java.lang.Object
-
- de.tracetronic.jenkins.plugins.ecutest.report.log.ETLogParser
-
public class ETLogParser extends Object
Class providing a parser for the ecu.test log files.
-
-
Constructor Summary
Constructors Constructor Description ETLogParser(FilePath logFile)
Instantiates a newETLogParser
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ETLogAnnotation>
parse()
Parses the ecu.test log file.int
parseLogCount(ETLogAnnotation.Severity severity)
Parses the total count of log messages matching the given severity.
-
-
-
Constructor Detail
-
ETLogParser
public ETLogParser(FilePath logFile)
Instantiates a newETLogParser
.- Parameters:
logFile
- the log file
-
-
Method Detail
-
parse
public List<ETLogAnnotation> parse()
Parses the ecu.test log file.- Returns:
- the list of annotated log messages
-
parseLogCount
public int parseLogCount(ETLogAnnotation.Severity severity)
Parses the total count of log messages matching the given severity.- Parameters:
severity
- the severity to match- Returns:
- the total log count by severity
-
-