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
An
EventData
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
FieldsModifier and TypeFieldDescriptionfinal boolean
Whether configuration on demand mode was enabled for the build.final boolean
Whether the continue on failure flag was set for the build.final boolean
Whether continuous build mode was running for the build.final boolean
Whether the build was run with the Gradle Daemon.final boolean
Whether the dry run flag was set for the build.final int
The maximum number of build workers used to run the build.final boolean
Whether the offline flag was set for the build.final boolean
Whether parallel project execution was enabled for the build.final boolean
Whether the build was set to refresh all dependencies in the dependency cache.final boolean
Whether the build was forced to run all the tasks, ignoring any up-to-date checks. -
Constructor Summary
ConstructorsConstructorDescriptionBuildModes_1_0
(boolean refreshDependencies, boolean parallelProjectExecution, boolean rerunTasks, boolean continuous, boolean continueOnFailure, boolean configureOnDemand, boolean daemon, boolean offline, boolean dryRun, int maxWorkers) -
Method Summary
-
Field Details
-
refreshDependencies
public final boolean refreshDependenciesWhether the build was set to refresh all dependencies in the dependency cache.- See Also:
-
parallelProjectExecution
public final boolean parallelProjectExecutionWhether parallel project execution was enabled for the build.- See Also:
-
rerunTasks
public final boolean rerunTasksWhether the build was forced to run all the tasks, ignoring any up-to-date checks.- See Also:
-
continuous
public final boolean continuousWhether continuous build mode was running for the build.- See Also:
-
continueOnFailure
public final boolean continueOnFailureWhether the continue on failure flag was set for the build.- See Also:
-
configureOnDemand
public final boolean configureOnDemandWhether configuration on demand mode was enabled for the build.- See Also:
-
daemon
public final boolean daemonWhether the build was run with the Gradle Daemon.- See Also:
-
offline
public final boolean offlineWhether the offline flag was set for the build.- See Also:
-
dryRun
public final boolean dryRunWhether the dry run flag was set for the build.- See Also:
-
maxWorkers
public final int maxWorkersThe maximum number of build workers used to run the build.- See Also:
-
-
Constructor Details
-
BuildModes_1_0
public BuildModes_1_0(boolean refreshDependencies, boolean parallelProjectExecution, boolean rerunTasks, boolean continuous, boolean continueOnFailure, boolean configureOnDemand, boolean daemon, boolean offline, boolean dryRun, int maxWorkers)
-
-
Method Details