public final class LibraryManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LibraryManager.HashAlgorithm
An enum containing the supported hash algorithms.
|
Constructor and Description |
---|
LibraryManager(String defaultRepository,
String directoryName,
boolean validateChecksum,
int maxDownloadAttempts,
Collection<Library> libraries)
Creates the instance.
|
public LibraryManager(String defaultRepository, String directoryName, boolean validateChecksum, int maxDownloadAttempts, Collection<Library> libraries)
defaultRepository
- the repository to download the libraries fromdirectoryName
- the name of the directory to download the libraries tovalidateChecksum
- whether or not checksum validation is enabledmaxDownloadAttempts
- the maximum number of attempts to download a librarylibraries
- the libraries to downloadCopyright © 2021. All rights reserved.