Class ReportLocations


  • public class ReportLocations
    extends Object
    Extracts all affected files of a Report and adds them to a new FileLocations instance.
    Author:
    Ullrich Hafner
    • Constructor Detail

      • ReportLocations

        public ReportLocations()
    • Method Detail

      • toFileLocations

        public io.jenkins.plugins.forensics.blame.FileLocations toFileLocations​(edu.hm.hafner.analysis.Report report)
        Returns the affected file locations in the report.
        Parameters:
        report - the report to get the affected files from
        Returns:
        the affected file locations
      • toFileLocations

        @Deprecated
        public io.jenkins.plugins.forensics.blame.FileLocations toFileLocations​(edu.hm.hafner.analysis.Report report,
                                                                                String workspace)
        Deprecated.
        Returns the affected file locations in the report.
        Parameters:
        report - the report to get the affected files from
        workspace - the workspace to get the SCM repository from
        Returns:
        the affected file locations