Interface FileService

All Known Implementing Classes:
ScannerFileService

public interface FileService
  • Method Summary

    Modifier and Type
    Method
    Description
    getAbsolutePath(String deterministicBuildPath)
    Returns the absolute path for a deterministic build path.
    boolean
    Returns true if the absolute path is indexed by the scanner and has the correct extension.
  • Method Details

    • isSupportedAbsolute

      boolean isSupportedAbsolute(String absolutePath)
      Returns true if the absolute path is indexed by the scanner and has the correct extension.
    • getAbsolutePath

      Optional<String> getAbsolutePath(String deterministicBuildPath)
      Returns the absolute path for a deterministic build path. Note that the absolute path returned by the Scanner may be different from the absolute path returned by the Operating System
      Parameters:
      deterministicBuildPath - - the path in the code coverage report when builds are done with the `-deterministic` option
      See Also:
      • IndexedFile.uri()