Package com.gradle.scan.eventmodel.maven
Class MvnBuildModes_1_0
java.lang.Object
com.gradle.scan.eventmodel.maven.MvnBuildModes_1_0
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
- Direct Known Subclasses:
MvnBuildModes_1_1
@MavenVersion(since="3.3.1")
@MavenExtensionVersion(since="1.0",
until="1.12")
public class MvnBuildModes_1_0
extends Object
implements com.gradle.scan.eventmodel.EventData
An
EventData
containing details of the Maven build modes enabled (or not) for the build.
Build modes annotated with Nullable
may not be captured if the build is executed by a
Maven launcher that does not make the full command line arguments available to the Maven runtime via environment variable.
An event stream will contain a single MvnBuildModes_1_0
.
-
Field Summary
Modifier and TypeFieldDescriptionfinal @Nullable("when build mode cannot be captured") Boolean
Whether the build was configured to run in non-interactive (batch) mode (disables output color).final @Nullable("when build mode cannot be captured") Boolean
Whether the build was configured to produce execution debug output.final boolean
Whether the build was configured to produce execution error messages.final @Nullable("when build mode cannot be captured") Boolean
Whether the build was configured to only fail at the end.final @Nullable("when build mode cannot be captured") Boolean
Whether the build was configured to fail at the first error.final @Nullable("when build mode cannot be captured") Boolean
Whether the build was configured to never fail, regardless of errors produced.final @Nullable("when build mode cannot be captured") Boolean
Whether the build was configured to only warn if checksums don't match.final int
The maximum number of threads used to run the build.final boolean
Whether the build was configured to not recurse into sub-projects.final boolean
Whether the build was configured to suppress snapshot updates.final boolean
Whether the build was configured to run offline.final @Nullable("when build mode cannot be captured") Boolean
Whether the build was configured to run in quiet mode, showing error output only.final @Nullable("when build mode cannot be captured") Boolean
Whether the build was configured to fail if checksums don't match.final boolean
Whether the build was configured to force a check for missing releases and updated snapshots on remote repositories. -
Constructor Summary
ConstructorDescriptionMvnBuildModes_1_0
(int maxThreads, boolean errors, boolean nonRecursive, boolean noSnapshotUpdates, boolean offline, boolean updateSnapshots, @Nullable Boolean batchMode, @Nullable Boolean debug, @Nullable Boolean failAtEnd, @Nullable Boolean failFast, @Nullable Boolean failNever, @Nullable Boolean laxChecksums, @Nullable Boolean quiet, @Nullable Boolean strictChecksums) -
Method Summary
-
Field Details
-
maxThreads
public final int maxThreadsThe maximum number of threads used to run the build.- See Also:
-
errors
public final boolean errorsWhether the build was configured to produce execution error messages.- See Also:
-
nonRecursive
public final boolean nonRecursiveWhether the build was configured to not recurse into sub-projects.- See Also:
-
noSnapshotUpdates
public final boolean noSnapshotUpdatesWhether the build was configured to suppress snapshot updates.- See Also:
-
offline
public final boolean offlineWhether the build was configured to run offline.- See Also:
-
updateSnapshots
public final boolean updateSnapshotsWhether the build was configured to force a check for missing releases and updated snapshots on remote repositories.- See Also:
-
batchMode
@Nullable("when build mode cannot be captured") public final @Nullable("when build mode cannot be captured") Boolean batchModeWhether the build was configured to run in non-interactive (batch) mode (disables output color).- See Also:
-
debug
@Nullable("when build mode cannot be captured") public final @Nullable("when build mode cannot be captured") Boolean debugWhether the build was configured to produce execution debug output.- See Also:
-
failAtEnd
@Nullable("when build mode cannot be captured") public final @Nullable("when build mode cannot be captured") Boolean failAtEndWhether the build was configured to only fail at the end.- See Also:
-
failFast
@Nullable("when build mode cannot be captured") public final @Nullable("when build mode cannot be captured") Boolean failFastWhether the build was configured to fail at the first error.- See Also:
-
failNever
@Nullable("when build mode cannot be captured") public final @Nullable("when build mode cannot be captured") Boolean failNeverWhether the build was configured to never fail, regardless of errors produced.- See Also:
-
laxChecksums
@Nullable("when build mode cannot be captured") public final @Nullable("when build mode cannot be captured") Boolean laxChecksumsWhether the build was configured to only warn if checksums don't match.- See Also:
-
quiet
@Nullable("when build mode cannot be captured") public final @Nullable("when build mode cannot be captured") Boolean quietWhether the build was configured to run in quiet mode, showing error output only.- See Also:
-
strictChecksums
@Nullable("when build mode cannot be captured") public final @Nullable("when build mode cannot be captured") Boolean strictChecksumsWhether the build was configured to fail if checksums don't match.- See Also:
-
-
Constructor Details
-
MvnBuildModes_1_0
public MvnBuildModes_1_0(int maxThreads, boolean errors, boolean nonRecursive, boolean noSnapshotUpdates, boolean offline, boolean updateSnapshots, @Nullable @Nullable Boolean batchMode, @Nullable @Nullable Boolean debug, @Nullable @Nullable Boolean failAtEnd, @Nullable @Nullable Boolean failFast, @Nullable @Nullable Boolean failNever, @Nullable @Nullable Boolean laxChecksums, @Nullable @Nullable Boolean quiet, @Nullable @Nullable Boolean strictChecksums)
-
-
Method Details