Package org.approvej.verify
Interface PathProvider
- All Known Implementing Classes:
ApprovedPathProvider,NextToTestPathProvider
public interface PathProvider
A provider for the paths of the approved and received files.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe infix of the file containing a previously approved value.static final StringDefault filename extension for the approved and received files.static final StringThe infix of the file containing the latest received value that didn't match the previously approved. -
Method Summary
Modifier and TypeMethodDescriptionThe 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
The infix of the file containing the latest received value that didn't match the previously approved.- See Also:
-
APPROVED
The infix of the file containing a previously approved value.- See Also:
-
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
Pathto the directory
-
receivedPath
Path receivedPath()The path of the file containing the latest received value that didn't match the previously approved.- Returns:
- the
Pathto the received file
-
approvedPath
Path approvedPath()The path of the file containing a previously approved value.- Returns:
- the
Pathto the approved file
-