Class 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 Detail

      • 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 Detail

      • MvnTestDistributionConfiguration_1_0

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