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.

@FunctionalInterface public interface FilePathStrategy
  • Method Details

    • selectFileFor

      @NotNull @NotNull File selectFileFor(@NotNull @NotNull Dependency dependency)
    • createDefault

      @NotNull static @NotNull FilePathStrategy createDefault(@NotNull @NotNull File root)
    • 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