public static enum QualifiedContent.Scope extends java.lang.Enum<QualifiedContent.Scope> implements QualifiedContent.ScopeType
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 and Description |
---|
EXTERNAL_LIBRARIES
Only the external libraries
|
PROJECT
Only the project (module) content
|
PROJECT_LOCAL_DEPS
Deprecated.
local dependencies are now processed as
EXTERNAL_LIBRARIES |
PROVIDED_ONLY
Local or remote dependencies that are provided-only
|
SUB_PROJECTS
Only the sub-projects (other modules)
|
SUB_PROJECTS_LOCAL_DEPS
Deprecated.
local dependencies are now processed as
EXTERNAL_LIBRARIES |
TESTED_CODE
Code that is being tested by the current variant, including dependencies
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
A scope binary flag that will be used to encode directory names.
|
static QualifiedContent.Scope |
valueOf(java.lang.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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final QualifiedContent.Scope PROJECT
public static final QualifiedContent.Scope SUB_PROJECTS
public static final QualifiedContent.Scope EXTERNAL_LIBRARIES
public static final QualifiedContent.Scope TESTED_CODE
public static final QualifiedContent.Scope PROVIDED_ONLY
@Deprecated public static final QualifiedContent.Scope PROJECT_LOCAL_DEPS
EXTERNAL_LIBRARIES
@Deprecated public static final QualifiedContent.Scope SUB_PROJECTS_LOCAL_DEPS
EXTERNAL_LIBRARIES
public static QualifiedContent.Scope[] values()
for (QualifiedContent.Scope c : QualifiedContent.Scope.values()) System.out.println(c);
public static QualifiedContent.Scope valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
QualifiedContent.ScopeType
getValue
in interface QualifiedContent.ScopeType