public enum MavenRepository extends Enum<MavenRepository>
| Enum Constant and Description |
|---|
Atlassian |
Central |
JCenter |
Sonatype |
| Modifier and Type | Method and Description |
|---|---|
String |
page() |
static MavenRepository |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MavenRepository[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MavenRepository Central
public static final MavenRepository Sonatype
public static final MavenRepository Atlassian
public static final MavenRepository JCenter
public static MavenRepository[] values()
for (MavenRepository c : MavenRepository.values()) System.out.println(c);
public static MavenRepository 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 String page()
Copyright © 2022. All rights reserved.