Class MvnTestDistributionConfiguration_1_0

java.lang.Object
com.gradle.scan.eventmodel.maven.testdistribution.MvnTestDistributionConfiguration_1_0
All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData

@MavenVersion(since="3.3.1") @MavenExtensionVersion(since="1.18") public class MvnTestDistributionConfiguration_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
Captures the Test Distribution configuration for a test goal.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final long
    The ID of the test goal execution the request is being made as part of.
    final int
    The configured number of executors to use for running tests on build client.
    final @Nullable("if no maximum number of remote executors is set") Integer
    The configured number of remote executors that should be requested from the remote test execution infrastructure in order run the tests of this test goal.
    final boolean
    Whether remote executors are tried first, falling back to local ones after waitTimeout expires.
    final Set<String>
    Configured requirements that need to be fulfilled by executors in order to execute the tests of this test goal.
    final boolean
    Describes whether the tests should be retried in the same JVM.
    final long
    The configuration duration the build waits for the remote test execution infrastructure to respond in milliseconds.
  • Constructor Summary

    Constructors
    Constructor
    Description
    MvnTestDistributionConfiguration_1_0(long goalExecutionId, int maxLocalExecutors, @Nullable Integer maxRemoteExecutors, boolean remoteExecutionPreferred, long waitTimeout, boolean retryInSameJvm, Set<String> requirements)
     
  • 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

    • goalExecutionId

      public final long goalExecutionId
      The ID of the test goal execution the request is being made as part of.

      Corresponds to MvnGoalExecutionStarted_1_0.id.

    • maxLocalExecutors

      public final int maxLocalExecutors
      The configured number of executors to use for running tests on build client.
    • maxRemoteExecutors

      @Nullable("if no maximum number of remote executors is set") public final @Nullable("if no maximum number of remote executors is set") Integer maxRemoteExecutors
      The configured number of remote executors that should be requested from the remote test execution infrastructure in order run the tests of this test goal.
    • remoteExecutionPreferred

      public final boolean remoteExecutionPreferred
      Whether remote executors are tried first, falling back to local ones after waitTimeout expires.
    • waitTimeout

      public final long waitTimeout
      The configuration duration the build waits for the remote test execution infrastructure to respond in milliseconds.
    • retryInSameJvm

      public final boolean retryInSameJvm
      Describes whether the tests should be retried in the same JVM.
    • requirements

      public final Set<String> requirements
      Configured requirements that need to be fulfilled by executors in order to execute the tests of this test goal.
  • Constructor Details

    • MvnTestDistributionConfiguration_1_0

      public MvnTestDistributionConfiguration_1_0(long goalExecutionId, int maxLocalExecutors, @Nullable @Nullable Integer maxRemoteExecutors, boolean remoteExecutionPreferred, long waitTimeout, boolean retryInSameJvm, Set<String> requirements)
  • Method Details