Skip navigation links
A C D G I L M O R S 

A

addDependency(Dependency) - Method in class dev.vankka.dependencydownload.DependencyManager
Adds a dependency to this DependencyManager.
addRelocation(Relocation) - Method in class dev.vankka.dependencydownload.DependencyManager
Adds a relocation to this DependencyManager.
appendFileToClasspath(Path) - Method in class dev.vankka.dependencydownload.classloader.IsolatedClassLoader
 
appendFileToClasspath(Path) - Method in interface dev.vankka.dependencydownload.classpath.ClasspathAppender
Appends the given path to the classpath.

C

ClasspathAppender - Interface in dev.vankka.dependencydownload.classpath
A helper class that appends a given Path to the classpath (for example by adding the path's url to a URLClassLoader).
cleanupCacheDirectory() - Method in class dev.vankka.dependencydownload.DependencyManager
Removes files that are not known dependencies of this DependencyManager from CleanupPathProvider.getCleanupPath() implementation.
CleanupPathProvider - Interface in dev.vankka.dependencydownload.path
An interface extend of DependencyPathProvider This interface must be implemented to support DependencyManager.cleanupCacheDirectory()
createURL(Dependency) - Method in interface dev.vankka.dependencydownload.repository.Repository
Creates a url for the given Dependency with the Repository.getHost().

D

Dependency - Interface in dev.vankka.dependencydownload.dependency
A maven dependency.
DependencyDownloadResource - Class in dev.vankka.dependencydownload.resource
An object representation of the resource generated by the gradle plugin.
DependencyDownloadResource(URL) - Constructor for class dev.vankka.dependencydownload.resource.DependencyDownloadResource
 
DependencyDownloadResource(String) - Constructor for class dev.vankka.dependencydownload.resource.DependencyDownloadResource
 
DependencyDownloadResource(List<String>) - Constructor for class dev.vankka.dependencydownload.resource.DependencyDownloadResource
 
DependencyManager - Class in dev.vankka.dependencydownload
The main class responsible for downloading, optionally relocating and loading in dependencies.
DependencyManager(Path) - Constructor for class dev.vankka.dependencydownload.DependencyManager
DependencyManager(DependencyPathProvider) - Constructor for class dev.vankka.dependencydownload.DependencyManager
DependencyPathProvider - Interface in dev.vankka.dependencydownload.path
A Path provider for Dependencies.
dev.vankka.dependencydownload - package dev.vankka.dependencydownload
 
dev.vankka.dependencydownload.classloader - package dev.vankka.dependencydownload.classloader
 
dev.vankka.dependencydownload.classpath - package dev.vankka.dependencydownload.classpath
 
dev.vankka.dependencydownload.dependency - package dev.vankka.dependencydownload.dependency
 
dev.vankka.dependencydownload.path - package dev.vankka.dependencydownload.path
 
dev.vankka.dependencydownload.relocation - package dev.vankka.dependencydownload.relocation
 
dev.vankka.dependencydownload.repository - package dev.vankka.dependencydownload.repository
 
dev.vankka.dependencydownload.resource - package dev.vankka.dependencydownload.resource
 
DirectoryDependencyPathProvider - Class in dev.vankka.dependencydownload.path
Default dependency path provider, automatically use when call of constructor DependencyManager.DependencyManager(Path)
DirectoryDependencyPathProvider(Path) - Constructor for class dev.vankka.dependencydownload.path.DirectoryDependencyPathProvider
download(Executor, List<Repository>) - Method in class dev.vankka.dependencydownload.DependencyManager
Download all the dependencies in this DependencyManager.
downloadAll(Executor, List<Repository>) - Method in class dev.vankka.dependencydownload.DependencyManager
Download all the dependencies in this DependencyManager.

G

getAllPaths(boolean) - Method in class dev.vankka.dependencydownload.DependencyManager
Gets Paths to all Dependencies in this DependencyManager, optionally also including the relocated paths if includeRelocated is set to true.
getArtifactId() - Method in interface dev.vankka.dependencydownload.dependency.Dependency
The artifact id of the dependency.
getArtifactId() - Method in class dev.vankka.dependencydownload.dependency.StandardDependency
 
getClassifier() - Method in interface dev.vankka.dependencydownload.dependency.Dependency
The classifier for the dependency artifact, if any.
getClassifier() - Method in class dev.vankka.dependencydownload.dependency.StandardDependency
 
getCleanupPath() - Method in interface dev.vankka.dependencydownload.path.CleanupPathProvider
Gets the path that should be used for removing unused files using DependencyManager.cleanupCacheDirectory().
getCleanupPath() - Method in class dev.vankka.dependencydownload.path.DirectoryDependencyPathProvider
 
getDependencies() - Method in class dev.vankka.dependencydownload.DependencyManager
Gets the dependencies in this DependencyManager.
getDependencies() - Method in class dev.vankka.dependencydownload.resource.DependencyDownloadResource
Gets the dependencies defined in the resource.
getDependencyPath(Dependency, boolean) - Method in interface dev.vankka.dependencydownload.path.DependencyPathProvider
Gets the path that should be used for the provided Dependency.
getDependencyPath(Dependency, boolean) - Method in class dev.vankka.dependencydownload.path.DirectoryDependencyPathProvider
 
getDependencyPathProvider() - Method in class dev.vankka.dependencydownload.DependencyManager
Gets the dependency path provider for this DependencyManager.
getExcludes() - Method in class dev.vankka.dependencydownload.relocation.Relocation
 
getFileName() - Method in interface dev.vankka.dependencydownload.dependency.Dependency
Returns the file name for the end of the maven path.
getFileName() - Method in class dev.vankka.dependencydownload.dependency.SnapshotDependency
 
getGroupId() - Method in interface dev.vankka.dependencydownload.dependency.Dependency
The group id of the dependency.
getGroupId() - Method in class dev.vankka.dependencydownload.dependency.StandardDependency
 
getHash() - Method in interface dev.vankka.dependencydownload.dependency.Dependency
The hash of the dependency, this is checked against the downloaded file.
getHash() - Method in class dev.vankka.dependencydownload.dependency.StandardDependency
 
getHashingAlgorithm() - Method in interface dev.vankka.dependencydownload.dependency.Dependency
The hashing algorithm used for the Dependency.getHash().
getHashingAlgorithm() - Method in class dev.vankka.dependencydownload.dependency.StandardDependency
 
getHost() - Method in interface dev.vankka.dependencydownload.repository.Repository
The maven repository host's address.
getHost() - Method in class dev.vankka.dependencydownload.repository.StandardRepository
 
getIncludes() - Method in class dev.vankka.dependencydownload.relocation.Relocation
 
getMavenArtifact() - Method in interface dev.vankka.dependencydownload.dependency.Dependency
Gets the group id, artifact id, version and classifier (if specified) seperated by semicolons.
getMavenPath() - Method in interface dev.vankka.dependencydownload.dependency.Dependency
The path to this dependency on a maven repository, without the protocol, domain or slash at the beginning.
getPathForDependency(Dependency, boolean) - Method in class dev.vankka.dependencydownload.DependencyManager
Gets the Path where the given Dependency will be stored once downloaded.
getPattern() - Method in class dev.vankka.dependencydownload.relocation.Relocation
 
getRelocations() - Method in class dev.vankka.dependencydownload.DependencyManager
Gets the relocations in this DependencyManager.
getRelocations() - Method in class dev.vankka.dependencydownload.resource.DependencyDownloadResource
Gets the relocations defined in the resource.
getShadedPattern() - Method in class dev.vankka.dependencydownload.relocation.Relocation
 
getSnapshotVersion() - Method in interface dev.vankka.dependencydownload.dependency.Dependency
The timestamped snapshot version.
getSnapshotVersion() - Method in class dev.vankka.dependencydownload.dependency.SnapshotDependency
 
getSnapshotVersion() - Method in class dev.vankka.dependencydownload.dependency.StandardDependency
 
getStoredFileName() - Method in interface dev.vankka.dependencydownload.dependency.Dependency
Returns the file name when stored to disk.
getVersion() - Method in interface dev.vankka.dependencydownload.dependency.Dependency
The version of the dependency.
getVersion() - Method in class dev.vankka.dependencydownload.dependency.StandardDependency
 

I

IsolatedClassLoader - Class in dev.vankka.dependencydownload.classloader
Utility ClassLoader to load classes onto a seperate classpath as the main application.
IsolatedClassLoader() - Constructor for class dev.vankka.dependencydownload.classloader.IsolatedClassLoader
 
isSnapshot() - Method in interface dev.vankka.dependencydownload.dependency.Dependency
If this is a snapshot dependency.
isSnapshot() - Method in class dev.vankka.dependencydownload.dependency.SnapshotDependency
 
isSnapshot() - Method in class dev.vankka.dependencydownload.dependency.StandardDependency
 

L

load(Executor, ClasspathAppender) - Method in class dev.vankka.dependencydownload.DependencyManager
Loads all the (potentially relocated) dependencies with provided ClasspathAppender.
loadAll(Executor, ClasspathAppender) - Method in class dev.vankka.dependencydownload.DependencyManager
Loads all the (potentially relocated) dependencies with provided ClasspathAppender.
loadFromResource(URL) - Method in class dev.vankka.dependencydownload.DependencyManager
Loads dependencies and relocations from the resource generated by the gradle plugin.
loadFromResource(String) - Method in class dev.vankka.dependencydownload.DependencyManager
Loads dependencies and relocations from the resource generated by the gradle plugin.
loadFromResource(List<String>) - Method in class dev.vankka.dependencydownload.DependencyManager
Loads dependencies and relocations from the resource generated by the gradle plugin.

M

MAVEN_PATH_FORMAT - Static variable in interface dev.vankka.dependencydownload.dependency.Dependency
 

O

openConnection(Dependency) - Method in interface dev.vankka.dependencydownload.repository.Repository
Opens a connection from a url generated with Repository.createURL(Dependency).

R

relocate(Executor) - Method in class dev.vankka.dependencydownload.DependencyManager
Relocates all the dependencies with the relocations in this DependencyManager.
relocate(Executor, ClassLoader) - Method in class dev.vankka.dependencydownload.DependencyManager
Relocates all the dependencies with the relocations in this DependencyManager.
relocateAll(Executor) - Method in class dev.vankka.dependencydownload.DependencyManager
Relocates all the dependencies with the relocations in this DependencyManager.
relocateAll(Executor, ClassLoader) - Method in class dev.vankka.dependencydownload.DependencyManager
Relocates all the dependencies with the relocations in this DependencyManager.
Relocation - Class in dev.vankka.dependencydownload.relocation
A relocation.
Relocation(String, String, Set<String>, Set<String>) - Constructor for class dev.vankka.dependencydownload.relocation.Relocation
 
Repository - Interface in dev.vankka.dependencydownload.repository
 

S

SnapshotDependency - Class in dev.vankka.dependencydownload.dependency
 
SnapshotDependency(String, String, String, String, String, String, String) - Constructor for class dev.vankka.dependencydownload.dependency.SnapshotDependency
 
StandardDependency - Class in dev.vankka.dependencydownload.dependency
 
StandardDependency(String, String, String, String, String, String) - Constructor for class dev.vankka.dependencydownload.dependency.StandardDependency
 
StandardRepository - Class in dev.vankka.dependencydownload.repository
 
StandardRepository(String) - Constructor for class dev.vankka.dependencydownload.repository.StandardRepository
 
A C D G I L M O R S 
Skip navigation links