Interface PathProvider

All Known Implementing Classes:
ApprovedPathProvider, NextToTestPathProvider

public interface PathProvider
A provider for the paths of the approved and received files.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The infix of the file containing a previously approved value.
    static final String
    Default filename extension for the approved and received files.
    static final String
    The infix of the file containing the latest received value that didn't match the previously approved.
  • Method Summary

    Modifier and Type
    Method
    Description
    The path of the file containing a previously approved value.
    The path of the directory containing the approved and received files.
    The path of the file containing the latest received value that didn't match the previously approved.
  • Field Details

    • RECEIVED

      static final String RECEIVED
      The infix of the file containing the latest received value that didn't match the previously approved.
      See Also:
    • APPROVED

      static final String APPROVED
      The infix of the file containing a previously approved value.
      See Also:
    • DEFAULT_FILENAME_EXTENSION

      static final String DEFAULT_FILENAME_EXTENSION
      Default filename extension for the approved and received files.
      See Also:
  • Method Details

    • directory

      Path directory()
      The path of the directory containing the approved and received files.
      Returns:
      the Path to the directory
    • receivedPath

      Path receivedPath()
      The path of the file containing the latest received value that didn't match the previously approved.
      Returns:
      the Path to the received file
    • approvedPath

      Path approvedPath()
      The path of the file containing a previously approved value.
      Returns:
      the Path to the approved file