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
ConstructorsConstructorDescriptionConsoleLogReaderFactory(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:
getFileNamein classedu.hm.hafner.analysis.ReaderFactory- Returns:
- the file name
-
create
Creates a newReaderfor the file.- Specified by:
createin classedu.hm.hafner.analysis.ReaderFactory- Returns:
- a reader
-