org.jboss.forge.project.facets
Enum DependencyFacet.KnownRepository
java.lang.Object
java.lang.Enum<DependencyFacet.KnownRepository>
org.jboss.forge.project.facets.DependencyFacet.KnownRepository
- All Implemented Interfaces:
- Serializable, Comparable<DependencyFacet.KnownRepository>
- Enclosing interface:
- DependencyFacet
public static enum DependencyFacet.KnownRepository
- extends Enum<DependencyFacet.KnownRepository>
CENTRAL
public static final DependencyFacet.KnownRepository CENTRAL
JBOSS_NEXUS
public static final DependencyFacet.KnownRepository JBOSS_NEXUS
JAVA_NET
public static final DependencyFacet.KnownRepository JAVA_NET
values
public static DependencyFacet.KnownRepository[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DependencyFacet.KnownRepository c : DependencyFacet.KnownRepository.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DependencyFacet.KnownRepository valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getId
public String getId()
getUrl
public String getUrl()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.