public enum Adjustment extends java.lang.Enum<Adjustment>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Adjustment.CompoundIterable
An
Iterable that concatenates multiple iterables of Tasks. |
static class |
Adjustment.ErrorHandler
An error handler to react on failures to adjust the task graph.
|
protected static class |
Adjustment.NoOpPostProcessor
A non-operational post processor.
|
| Enum Constant and Description |
|---|
ACTIVE
Resolves only active tasks of the current execution as determined by the
TaskExecutionGraph. |
FULL
Resolves all tasks recursively with basis on the root project.
|
NONE
Does not resolve any tasks.
|
SELF
Resolves only tasks declared by the compile task's project, excluding its subprojects.
|
SUB
Resolves all tasks recursively with basis on the compile task's project, including its subprojects.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.Iterable<org.gradle.api.Task> |
resolve(org.gradle.api.Project project,
org.gradle.api.execution.TaskExecutionGraph graph)
Resolves the task dependencies per project.
|
static Adjustment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Adjustment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Adjustment FULL
public static final Adjustment SUB
public static final Adjustment SELF
public static final Adjustment ACTIVE
TaskExecutionGraph.public static final Adjustment NONE
public static Adjustment[] values()
for (Adjustment c : Adjustment.values()) System.out.println(c);
public static Adjustment 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 nullprotected abstract java.lang.Iterable<org.gradle.api.Task> resolve(org.gradle.api.Project project,
org.gradle.api.execution.TaskExecutionGraph graph)
project - The project of the compile task.graph - The task execution graph.