Class BuildModes_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.gradle.BuildModes_1_0
-
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
- Direct Known Subclasses:
BuildModes_1_1
@GradleVersion(since="2.0", until="3.0") @PluginVersion(since="1.0", until="1.2") public class BuildModes_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
AnEventData
containing details of the Gradle build modes enabled (or not) for the build.An event stream will contain a single
BuildModes_1_0
.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
configureOnDemand
Whether configuration on demand mode was enabled for the build.boolean
continueOnFailure
Whether the continue on failure flag was set for the build.boolean
continuous
Whether continuous build mode was running for the build.boolean
daemon
Whether the build was run with the Gradle Daemon.boolean
dryRun
Whether the dry run flag was set for the build.int
maxWorkers
The maximum number of build workers used to run the build.boolean
offline
Whether the offline flag was set for the build.boolean
parallelProjectExecution
Whether parallel project execution was enabled for the build.boolean
refreshDependencies
Whether the build was set to refresh all dependencies in the dependency cache.boolean
rerunTasks
Whether the build was forced to run all the tasks, ignoring any up-to-date checks.
-
Constructor Summary
Constructors Constructor Description BuildModes_1_0(boolean refreshDependencies, boolean parallelProjectExecution, boolean rerunTasks, boolean continuous, boolean continueOnFailure, boolean configureOnDemand, boolean daemon, boolean offline, boolean dryRun, int maxWorkers)
-
-
-
Field Detail
-
refreshDependencies
public final boolean refreshDependencies
Whether the build was set to refresh all dependencies in the dependency cache.- See Also:
- User Guide - Refreshing dependencies
-
parallelProjectExecution
public final boolean parallelProjectExecution
Whether parallel project execution was enabled for the build.- See Also:
- User Guide - Parallel project execution
-
rerunTasks
public final boolean rerunTasks
Whether the build was forced to run all the tasks, ignoring any up-to-date checks.- See Also:
- User Guide - Forcing tasks to execute
-
continuous
public final boolean continuous
Whether continuous build mode was running for the build.- See Also:
- User Guide - Continuous build
-
continueOnFailure
public final boolean continueOnFailure
Whether the continue on failure flag was set for the build.
-
configureOnDemand
public final boolean configureOnDemand
Whether configuration on demand mode was enabled for the build.- See Also:
- User Guide - Configuration on demand
-
daemon
public final boolean daemon
Whether the build was run with the Gradle Daemon.- See Also:
- User Guide - The Gradle Daemon
-
offline
public final boolean offline
Whether the offline flag was set for the build.
-
dryRun
public final boolean dryRun
Whether the dry run flag was set for the build.- See Also:
- User Guide - Dry Run
-
maxWorkers
public final int maxWorkers
The maximum number of build workers used to run the build.- See Also:
- User Guide - Max Workers
-
-