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 long
goalExecutionId
The ID of the test goal execution the request is being made as part of.int
maxLocalExecutors
The configured number of executors to use for running tests on build client.@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.boolean
remoteExecutionPreferred
Whether remote executors are tried first, falling back to local ones afterwaitTimeout
expires.Set<String>
requirements
Configured requirements that need to be fulfilled by executors in order to execute the tests of this test goal.boolean
retryInSameJvm
Describes whether the tests should be retried in the same JVM.long
waitTimeout
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)
-
-
-
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 afterwaitTimeout
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.
-
-