public enum OfficialArtifactRepository extends Enum<OfficialArtifactRepository> implements ArtifactRepository
| Enum Constant and Description |
|---|
BINTRAY |
GITHUB |
RABBITMQ
Deprecated.
in favor of
GITHUB since starting with v3.7.0, this repository is no longer updated.
More info: Package Distribution Changes. |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getArtifactPlatform(Version version,
OperatingSystem operatingSystem)
RabbitMQ releases used to include a special binary package for macOS that bundled a supported version of
Erlang/OTP.
|
protected String |
getFolderPrefix(Version version) |
protected String |
getFolderVersion(Version version) |
URL |
getUrl(Version version,
OperatingSystem operatingSystem) |
static OfficialArtifactRepository |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OfficialArtifactRepository[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final OfficialArtifactRepository RABBITMQ
GITHUB since starting with v3.7.0, this repository is no longer updated.
More info: Package Distribution Changes.public static final OfficialArtifactRepository GITHUB
public static final OfficialArtifactRepository BINTRAY
public static OfficialArtifactRepository[] values()
for (OfficialArtifactRepository c : OfficialArtifactRepository.values()) System.out.println(c);
public static OfficialArtifactRepository valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic URL getUrl(Version version, OperatingSystem operatingSystem)
getUrl in interface ArtifactRepositoryprotected String getArtifactPlatform(Version version, OperatingSystem operatingSystem)
Copyright © 2016–2021. All rights reserved.