Forge - Parent 1.0.0.Final

org.jboss.forge.project.facets
Enum DependencyFacet.KnownRepository

java.lang.Object
  extended by java.lang.Enum<DependencyFacet.KnownRepository>
      extended by 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>


Enum Constant Summary
CENTRAL
           
JAVA_NET
           
JBOSS_NEXUS
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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()

Forge - Parent 1.0.0.Final

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.