com.android.ide.common.repository
Enum GradleCoordinate.ArtifactType

java.lang.Object
  extended by java.lang.Enum<GradleCoordinate.ArtifactType>
      extended by com.android.ide.common.repository.GradleCoordinate.ArtifactType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GradleCoordinate.ArtifactType>
Enclosing class:
GradleCoordinate

public static enum GradleCoordinate.ArtifactType
extends java.lang.Enum<GradleCoordinate.ArtifactType>

List taken from http://maven.apache.org/pom.html#Maven_Coordinates


Enum Constant Summary
AAR
           
EAR
           
EJB
           
JAR
           
MAVEN_PLUGIN
           
PAR
           
POM
           
RAR
           
WAR
           
 
Method Summary
static GradleCoordinate.ArtifactType getArtifactType(java.lang.String name)
           
 java.lang.String toString()
           
static GradleCoordinate.ArtifactType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GradleCoordinate.ArtifactType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

POM

public static final GradleCoordinate.ArtifactType POM

JAR

public static final GradleCoordinate.ArtifactType JAR

MAVEN_PLUGIN

public static final GradleCoordinate.ArtifactType MAVEN_PLUGIN

EJB

public static final GradleCoordinate.ArtifactType EJB

WAR

public static final GradleCoordinate.ArtifactType WAR

EAR

public static final GradleCoordinate.ArtifactType EAR

RAR

public static final GradleCoordinate.ArtifactType RAR

PAR

public static final GradleCoordinate.ArtifactType PAR

AAR

public static final GradleCoordinate.ArtifactType AAR
Method Detail

values

public static GradleCoordinate.ArtifactType[] 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 (GradleCoordinate.ArtifactType c : GradleCoordinate.ArtifactType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GradleCoordinate.ArtifactType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getArtifactType

@Nullable
public static GradleCoordinate.ArtifactType getArtifactType(@Nullable
                                                                     java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<GradleCoordinate.ArtifactType>