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

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

public static enum QualifiedContent.Scope
extends Enum<QualifiedContent.Scope>

The scope of the content.

This indicates what the content represents, so that Transforms can apply to only part(s) of the classes or resources that the build manipulates.


Enum Constant Summary
EXTERNAL_LIBRARIES
          Only the external libraries
PROJECT
          Only the project content
PROJECT_LOCAL_DEPS
          Only the project's local dependencies (local jars)
PROVIDED_ONLY
          Local or remote dependencies that are provided-only
SUB_PROJECTS
          Only the sub-projects.
SUB_PROJECTS_LOCAL_DEPS
          Only the sub-projects's local dependencies (local jars).
TESTED_CODE
          Code that is being tested by the current variant, including dependencies
 
Method Summary
 int getValue()
           
static QualifiedContent.Scope valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QualifiedContent.Scope[] 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

PROJECT

public static final QualifiedContent.Scope PROJECT
Only the project content


PROJECT_LOCAL_DEPS

public static final QualifiedContent.Scope PROJECT_LOCAL_DEPS
Only the project's local dependencies (local jars)


SUB_PROJECTS

public static final QualifiedContent.Scope SUB_PROJECTS
Only the sub-projects.


SUB_PROJECTS_LOCAL_DEPS

public static final QualifiedContent.Scope SUB_PROJECTS_LOCAL_DEPS
Only the sub-projects's local dependencies (local jars).


EXTERNAL_LIBRARIES

public static final QualifiedContent.Scope EXTERNAL_LIBRARIES
Only the external libraries


TESTED_CODE

public static final QualifiedContent.Scope TESTED_CODE
Code that is being tested by the current variant, including dependencies


PROVIDED_ONLY

public static final QualifiedContent.Scope PROVIDED_ONLY
Local or remote dependencies that are provided-only

Method Detail

values

public static QualifiedContent.Scope[] 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.Scope c : QualifiedContent.Scope.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.Scope 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()