Class ConsoleLogReaderFactory


  • public class ConsoleLogReaderFactory
    extends edu.hm.hafner.analysis.ReaderFactory
    Provides a reader factory for Jenkins' console log.
    Author:
    Ullrich Hafner
    • Constructor Detail

      • ConsoleLogReaderFactory

        public ConsoleLogReaderFactory​(Run<?,​?> run)
        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 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