Package org.approvej.approve
Class PathProviders
java.lang.Object
org.approvej.approve.PathProviders
Deprecated, for removal: This API element is subject to removal in a future version.
Collection of static methods to create
PathProviders instances.-
Method Summary
Modifier and TypeMethodDescriptionstatic ApprovedPathProviderapprovedPath(String approvedPath) Deprecated, for removal: This API element is subject to removal in a future version.usePathProviderBuilder.approvedPath(String)insteadstatic ApprovedPathProviderapprovedPath(Path approvedPath) Deprecated, for removal: This API element is subject to removal in a future version.usePathProviderBuilder.approvedPath(Path)insteadstatic NextToTestPathProviderDeprecated, for removal: This API element is subject to removal in a future version.usePathProviderBuilder.nextToTest()instead
-
Method Details
-
approvedPath
@Deprecated(since="0.8.3", forRemoval=true) public static ApprovedPathProvider approvedPath(Path approvedPath) Deprecated, for removal: This API element is subject to removal in a future version.usePathProviderBuilder.approvedPath(Path)insteadCreates a newApprovedPathProviderthat uses the given approved path.- Parameters:
approvedPath- thePathto the approved file- Returns:
- a new
ApprovedPathProvider
-
approvedPath
@Deprecated(since="0.8.3", forRemoval=true) public static ApprovedPathProvider approvedPath(String approvedPath) Deprecated, for removal: This API element is subject to removal in a future version.usePathProviderBuilder.approvedPath(String)insteadCreates a newApprovedPathProviderthat uses the given approved path.- Parameters:
approvedPath- the path to the approved file- Returns:
- a new
ApprovedPathProvider
-
nextToTest
Deprecated, for removal: This API element is subject to removal in a future version.usePathProviderBuilder.nextToTest()insteadCreates aNextToTestPathProvider.- Returns:
- a new
NextToTestPathProvider
-
PathProviderBuilderinstead