public enum Predefined extends java.lang.Enum<Predefined>
| Enum Constant and Description |
|---|
Jcenter |
Local |
MavenCentral |
MavenLocal |
ScalaToolsReleases
Deprecated.
use
SonatypeOSSReleases instead. |
ScalaToolsSnapshots
Deprecated.
use
SonatypeOSSSnapshots instead. |
SonatypeOSSReleases |
SonatypeOSSSnapshots |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static Predefined |
toValue(java.lang.String s) |
static Predefined |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Predefined[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Predefined Local
public static final Predefined MavenLocal
public static final Predefined MavenCentral
@Deprecated public static final Predefined ScalaToolsReleases
SonatypeOSSReleases instead.@Deprecated public static final Predefined ScalaToolsSnapshots
SonatypeOSSSnapshots instead.public static final Predefined SonatypeOSSReleases
public static final Predefined SonatypeOSSSnapshots
public static final Predefined Jcenter
public static Predefined[] values()
for (Predefined c : Predefined.values()) System.out.println(c);
public static Predefined valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<Predefined>public static Predefined toValue(java.lang.String s)