public static enum DependencyFacet.KnownRepository extends Enum<DependencyFacet.KnownRepository>
| Enum Constant and Description |
|---|
CENTRAL |
JAVA_NET |
JBOSS_NEXUS |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
String |
getUrl() |
static DependencyFacet.KnownRepository |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DependencyFacet.KnownRepository[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DependencyFacet.KnownRepository CENTRAL
public static final DependencyFacet.KnownRepository JBOSS_NEXUS
public static final DependencyFacet.KnownRepository JAVA_NET
public static DependencyFacet.KnownRepository[] values()
for (DependencyFacet.KnownRepository c : DependencyFacet.KnownRepository.values()) System.out.println(c);
public static DependencyFacet.KnownRepository 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 getId()
public String getUrl()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.