Interface ArtifactDependencyTargetDirRestrictor

    • Method Detail

      • tryGetRestrictedReason

        @Nullable
        String tryGetRestrictedReason​(@NotNull
                                      ResolverRuntimeConfiguration config,
                                      @NotNull
                                      String targetPath)
                               throws IOException
        Parameters:
        config - ResolverRuntimeConfiguration instance
        targetPath - Target directory real (absolute and resolved including links) path
        Returns:
        reason why downloading artifact to the target directory is restricted or null if is not restricted
        Throws:
        IOException - any unhandled exception will interrupt artifact dependency download with default reason