Package | Description |
---|---|
net.glowstone.util.library |
Modifier and Type | Method and Description |
---|---|
static LibraryManager.HashAlgorithm |
LibraryManager.HashAlgorithm.getAlgorithm(String name)
Gets the hash algorithm corresponding to the given name.
|
LibraryManager.HashAlgorithm |
Library.getChecksumType()
The algorithm used to generate the checksum for this library, if one was specified.
|
static LibraryManager.HashAlgorithm |
LibraryManager.HashAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LibraryManager.HashAlgorithm[] |
LibraryManager.HashAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Library(@NonNls String groupId,
@NonNls String artifactId,
@NonNls String version,
LibraryManager.HashAlgorithm checksumType,
@NonNls String checksumValue)
Creates a
Library instance with the specified group ID, artifact ID, version, and
checksum. |
Library(String groupId,
String artifactId,
String version,
String repository,
LibraryManager.HashAlgorithm checksumType,
String checksumValue,
boolean excludeDependencies)
Creates a
Library instance with the specified group ID, artifact ID, version,
repository, and checksum. |
Copyright © 2021. All rights reserved.