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

    Fields
    Modifier and Type
    Field
    Description
    final @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

    Constructors
    Constructor
    Description
    MvnBuildModes_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

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • maxThreads

      public final int maxThreads
      The maximum number of threads used to run the build.
      See Also:
    • errors

      public final boolean errors
      Whether the build was configured to produce execution error messages.
      See Also:
    • nonRecursive

      public final boolean nonRecursive
      Whether the build was configured to not recurse into sub-projects.
      See Also:
    • noSnapshotUpdates

      public final boolean noSnapshotUpdates
      Whether the build was configured to suppress snapshot updates.
      See Also:
    • offline

      public final boolean offline
      Whether the build was configured to run offline.
      See Also:
    • updateSnapshots

      public final boolean updateSnapshots
      Whether 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 batchMode
      Whether 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 debug
      Whether 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 failAtEnd
      Whether 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 failFast
      Whether 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 failNever
      Whether 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 laxChecksums
      Whether 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 quiet
      Whether 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 strictChecksums
      Whether 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