com.android.build.api.transform
Enum QualifiedContent.DefaultContentType

java.lang.Object
  extended by java.lang.Enum<QualifiedContent.DefaultContentType>
      extended by com.android.build.api.transform.QualifiedContent.DefaultContentType
All Implemented Interfaces:
QualifiedContent.ContentType, Serializable, Comparable<QualifiedContent.DefaultContentType>
Enclosing interface:
QualifiedContent

public static enum QualifiedContent.DefaultContentType
extends Enum<QualifiedContent.DefaultContentType>
implements QualifiedContent.ContentType

The type of of the content.


Enum Constant Summary
CLASSES
          The content is compiled Java code.
RESOURCES
          The content is standard Java resources.
 
Method Summary
 int getValue()
          A unique value for a content type.
static QualifiedContent.DefaultContentType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QualifiedContent.DefaultContentType[] 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
 
Methods inherited from interface com.android.build.api.transform.QualifiedContent.ContentType
name
 

Enum Constant Detail

CLASSES

public static final QualifiedContent.DefaultContentType CLASSES
The content is compiled Java code. This can be in a Jar file or in a folder. If in a folder, it is expected to in sub-folders matching package names.


RESOURCES

public static final QualifiedContent.DefaultContentType RESOURCES
The content is standard Java resources.

Method Detail

values

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

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

valueOf

public static QualifiedContent.DefaultContentType 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

getValue

public int getValue()
Description copied from interface: QualifiedContent.ContentType
A unique value for a content type.

Specified by:
getValue in interface QualifiedContent.ContentType