Class ConsoleLogReaderFactory
java.lang.Object
edu.hm.hafner.analysis.ReaderFactory
io.jenkins.plugins.analysis.core.util.ConsoleLogReaderFactory
public class ConsoleLogReaderFactory
extends edu.hm.hafner.analysis.ReaderFactory
Provides a reader factory for Jenkins' console log.
- Author:
- Ullrich Hafner
-
Constructor Summary
ConstructorDescriptionConsoleLogReaderFactory
(Run<?, ?> run) Creates a newConsoleLogReaderFactory
. -
Method Summary
Methods inherited from class edu.hm.hafner.analysis.ReaderFactory
getCharset, parse, readDocument, readStream, readString
-
Constructor Details
-
ConsoleLogReaderFactory
Creates a newConsoleLogReaderFactory
.- Parameters:
run
- the run that provides the console log
-
-
Method Details
-
getFileName
Returns the name of the resource.- Specified by:
getFileName
in classedu.hm.hafner.analysis.ReaderFactory
- Returns:
- the file name
-
create
Creates a newReader
for the file.- Specified by:
create
in classedu.hm.hafner.analysis.ReaderFactory
- Returns:
- a reader
-