public enum OfficialArtifactRepository extends Enum<OfficialArtifactRepository> implements ArtifactRepository
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final OfficialArtifactRepository RABBITMQ
public static final OfficialArtifactRepository GITHUB
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 ArtifactRepositoryCopyright © 2016–2017. All rights reserved.