Package org.approvej.verify
Class NextToTestPathProvider.NextToTestPathProviderBuilder
java.lang.Object
org.approvej.verify.NextToTestPathProvider.NextToTestPathProviderBuilder
- All Implemented Interfaces:
PathProviderBuilder
- Enclosing class:
NextToTestPathProvider
public static class NextToTestPathProvider.NextToTestPathProviderBuilder
extends Object
implements PathProviderBuilder
Builder for creating a
NextToTestPathProvider
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds thePathProvider
with the current configuration.filenameExtension
(String filenameExtension) Sets the filename extension for the approved and received files.Sets whether to create a subdirectory for the approved and received files.
-
Method Details
-
filenameExtension
public NextToTestPathProvider.NextToTestPathProviderBuilder filenameExtension(String filenameExtension) Sets the filename extension for the approved and received files.- Parameters:
filenameExtension
- a filename extension (e.g. "json", "txt", "xml", "yaml")- Returns:
- this
-
inSubdirectory
Sets whether to create a subdirectory for the approved and received files.- Returns:
- this
-
build
Description copied from interface:PathProviderBuilder
Builds thePathProvider
with the current configuration.- Specified by:
build
in interfacePathProviderBuilder
- Returns:
- a new
PathProvider
with the current configuration
-