Class FilesScanner

java.lang.Object
jenkins.MasterToSlaveFileCallable<edu.hm.hafner.analysis.Report>
io.jenkins.plugins.analysis.core.model.FilesScanner
All Implemented Interfaces:
FilePath.FileCallable<edu.hm.hafner.analysis.Report>, Serializable, org.jenkinsci.remoting.RoleSensitive

@Deprecated public class FilesScanner extends MasterToSlaveFileCallable<edu.hm.hafner.analysis.Report>
Deprecated.
replaced by AgentFileVisitor in plugin-util
Scans files that match a specified Ant files pattern for issues and aggregates the found issues into a single issues instance. This callable will be invoked on an agent so all fields and the returned issues need to be Serializable.
Author:
Ullrich Hafner
See Also:
  • Constructor Details

    • FilesScanner

      public FilesScanner(String filePattern, String encoding, boolean followSymbolicLinks, edu.hm.hafner.analysis.IssueParser parser)
      Deprecated.
      Creates a new instance of FilesScanner.
      Parameters:
      filePattern - ant file-set pattern to scan for files to parse
      encoding - encoding of the files to parse
      followSymbolicLinks - if the scanner should traverse symbolic links
      parser - the parser to use
  • Method Details

    • invoke

      public edu.hm.hafner.analysis.Report invoke(File workspace, hudson.remoting.VirtualChannel channel)
      Deprecated.