Class TestDistributionConfiguration_1_0

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

@GradleVersion(since="5.4") @PluginVersion(since="3.14") public class TestDistributionConfiguration_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
Captures the Test Distribution configuration for a test task.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    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 task.
    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 task.
    final boolean
    Describes whether the tests should be retried in the same JVM.
    final long
    The ID of the test task the configuration is captured for.
    final long
    The configuration duration the build waits for the remote test execution infrastructure to respond in milliseconds.
  • Constructor Summary

    Constructors
    Constructor
    Description
    TestDistributionConfiguration_1_0(long task, 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

    • task

      public final long task
      The ID of the test task the configuration is captured for.

      Corresponds to TaskStarted_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 task. This setting has no default value (as many remote executors as possible are requested in that case).
    • 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 task.
  • Constructor Details

    • TestDistributionConfiguration_1_0

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