QualifiedContent.DefaultContentType

public enum QualifiedContent.DefaultContentType implements QualifiedContent.ContentType


The type of of the content.

Summary

Enum Values

CLASSES

The content is compiled Java code.

RESOURCES

The content is standard Java resources.

Public fields

final int

Public methods

int

A unique value for a content type.

static QualifiedContent.DefaultContentType

Returns the enum constant of this type with the specified name.

static QualifiedContent.DefaultContentType[]

Returns an array containing the constants of this enum type, in the order they're declared.

Inherited methods

From com.android.build.api.transform.QualifiedContent.ContentType
abstract String

Content type name, readable by humans.

Enum Values

CLASSES

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

QualifiedContent.DefaultContentType QualifiedContent.DefaultContentType.RESOURCES

The content is standard Java resources.

Public fields

value

public final int value

Public methods

getValue

public int getValue()

A unique value for a content type.

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

Returns
QualifiedContent.DefaultContentType

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static QualifiedContent.DefaultContentType[] values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
QualifiedContent.DefaultContentType[]

an array containing the constants of this enum type, in the order they're declared