Forge - Parent 1.1.2-SNAPSHOT

org.jboss.forge.maven
Enum MavenPluginFacet.KnownRepository

java.lang.Object
  extended by java.lang.Enum<MavenPluginFacet.KnownRepository>
      extended by org.jboss.forge.maven.MavenPluginFacet.KnownRepository
All Implemented Interfaces:
Serializable, Comparable<MavenPluginFacet.KnownRepository>
Enclosing interface:
MavenPluginFacet

public static enum MavenPluginFacet.KnownRepository
extends Enum<MavenPluginFacet.KnownRepository>


Enum Constant Summary
CENTRAL
           
JAVA_NET
           
JBOSS_NEXUS
           
 
Method Summary
 String getId()
           
 String getUrl()
           
static MavenPluginFacet.KnownRepository valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MavenPluginFacet.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 MavenPluginFacet.KnownRepository CENTRAL

JBOSS_NEXUS

public static final MavenPluginFacet.KnownRepository JBOSS_NEXUS

JAVA_NET

public static final MavenPluginFacet.KnownRepository JAVA_NET
Method Detail

values

public static MavenPluginFacet.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 (MavenPluginFacet.KnownRepository c : MavenPluginFacet.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 MavenPluginFacet.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

getUrl

public String getUrl()

getId

public String getId()

Forge - Parent 1.1.2-SNAPSHOT

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.