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 Details

    • ConsoleLogReaderFactory

      public ConsoleLogReaderFactory(Run<?,?> run)
      Parameters:
      run - the run that provides the console log
  • Method Details

    • getFileName

      public String getFileName()
      Returns the name of the resource.
      Specified by:
      getFileName in class edu.hm.hafner.analysis.ReaderFactory
      Returns:
      the file name
    • create

      @MustBeClosed public Reader create()
      Creates a new Reader for the file.
      Specified by:
      create in class edu.hm.hafner.analysis.ReaderFactory
      Returns:
      a reader