public static enum QualifiedContent.Scope extends Enum<QualifiedContent.Scope>
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 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
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final QualifiedContent.Scope PROJECT
public static final QualifiedContent.Scope PROJECT_LOCAL_DEPS
public static final QualifiedContent.Scope SUB_PROJECTS
public static final QualifiedContent.Scope SUB_PROJECTS_LOCAL_DEPS
public static final QualifiedContent.Scope EXTERNAL_LIBRARIES
public static final QualifiedContent.Scope TESTED_CODE
public static final QualifiedContent.Scope PROVIDED_ONLY
public static QualifiedContent.Scope[] values()
for (QualifiedContent.Scope c : QualifiedContent.Scope.values()) System.out.println(c);
public static QualifiedContent.Scope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()