Class RelocationFilePathStrategy
java.lang.Object
io.github.slimjar.downloader.strategy.RelocationFilePathStrategy
- All Implemented Interfaces:
FilePathStrategy
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull FilePathStrategycreateStrategy(@NotNull File rootDirectory, @NotNull String applicationName) @NotNull FileselectFileFor(@NotNull Dependency dependency)
-
Method Details
-
selectFileFor
@Contract(pure=true) @NotNull public @NotNull File selectFileFor(@NotNull @NotNull Dependency dependency) - Specified by:
selectFileForin interfaceFilePathStrategy
-
createStrategy
@Contract(value="_, _ -> new", pure=true) @NotNull public static @NotNull FilePathStrategy createStrategy(@NotNull @NotNull File rootDirectory, @NotNull @NotNull String applicationName) throws IllegalStateException - Throws:
IllegalStateException
-