Klasse IssueReportScanner

java.lang.Object
jenkins.MasterToSlaveFileCallable<io.jenkins.plugins.util.AgentFileVisitor.FileVisitorResult<edu.hm.hafner.analysis.Report>>
io.jenkins.plugins.util.AgentFileVisitor<edu.hm.hafner.analysis.Report>
io.jenkins.plugins.analysis.core.model.IssueReportScanner
Alle implementierten Schnittstellen:
FilePath.FileCallable<io.jenkins.plugins.util.AgentFileVisitor.FileVisitorResult<edu.hm.hafner.analysis.Report>>, Serializable, org.jenkinsci.remoting.RoleSensitive

public class IssueReportScanner extends io.jenkins.plugins.util.AgentFileVisitor<edu.hm.hafner.analysis.Report>
Scans the workspace for issues reports that match a specified Ant file pattern and parse these files with the specified parser. Creates a new Report for each parsed file. For files that cannot be read, an empty report will be returned.
Autor:
Ullrich Hafner
Siehe auch:
  • Verschachtelte Klassen - Übersicht

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen io.jenkins.plugins.util.AgentFileVisitor

    io.jenkins.plugins.util.AgentFileVisitor.FileVisitorResult<T extends Serializable>
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    IssueReportScanner(String filePattern, String encoding, boolean followSymbolicLinks, edu.hm.hafner.analysis.IssueParser parser, boolean errorOnEmptyFiles)
    Creates a new instance of IssueReportScanner.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected Optional<edu.hm.hafner.analysis.Report>
    processFile(Path file, Charset charset, edu.hm.hafner.util.FilteredLog log)
     

    Von Klasse geerbte Methoden io.jenkins.plugins.util.AgentFileVisitor

    invoke, plural

    Von Klasse geerbte Methoden jenkins.MasterToSlaveFileCallable

    checkRoles

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • IssueReportScanner

      public IssueReportScanner(String filePattern, String encoding, boolean followSymbolicLinks, edu.hm.hafner.analysis.IssueParser parser, boolean errorOnEmptyFiles)
      Creates a new instance of IssueReportScanner.
      Parameter:
      filePattern - ant file-set pattern to scan for files to parse
      encoding - encoding of the files to parse
      followSymbolicLinks - determines whether the visitor should traverse symbolic
      parser - the parser to use
      errorOnEmptyFiles - determines whether the visitor should log errors if a file is empty
  • Methodendetails

    • processFile

      protected Optional<edu.hm.hafner.analysis.Report> processFile(Path file, Charset charset, edu.hm.hafner.util.FilteredLog log)
      Angegeben von:
      processFile in Klasse io.jenkins.plugins.util.AgentFileVisitor<edu.hm.hafner.analysis.Report>