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
Constructors Constructor Description ConsoleLogReaderFactory(Run<?,?> run)
Creates a newConsoleLogReaderFactory
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Reader
create()
Creates a newReader
for the file.String
getFileName()
Returns the name of the resource.
-
-
-
Constructor Detail
-
ConsoleLogReaderFactory
public ConsoleLogReaderFactory(Run<?,?> run)
Creates a newConsoleLogReaderFactory
.- Parameters:
run
- the run that provides the console log
-
-
Method Detail
-
getFileName
public String getFileName()
Returns the name of the resource.- Specified by:
getFileName
in classedu.hm.hafner.analysis.ReaderFactory
- Returns:
- the file name
-
-