Interface FilePathStrategy
- All Known Implementing Classes:
ChecksumFilePathStrategy,FolderedFilePathStrategy,RelocationFilePathStrategy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull FilePathStrategycreateDefault(@NotNull File root) static @NotNull FilePathStrategycreateRelocationStrategy(@NotNull File root, @NotNull String applicationName) @NotNull FileselectFileFor(@NotNull Dependency dependency) static voidvalidateDirectory(@NotNull File rootDirectory)
-
Method Details
-
selectFileFor
-
createDefault
-
createRelocationStrategy
@Contract(pure=true) @NotNull static @NotNull FilePathStrategy createRelocationStrategy(@NotNull @NotNull File root, @NotNull @NotNull String applicationName) -
validateDirectory
@Contract(pure=true) static void validateDirectory(@NotNull @NotNull File rootDirectory) throws IllegalStateException - Throws:
IllegalStateException
-