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
Modifier and TypeFieldDescriptionfinal 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 afterwaitTimeout
expires.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
ConstructorDescriptionMvnTestDistributionConfiguration_1_0
(long goalExecutionId, int maxLocalExecutors, @Nullable Integer maxRemoteExecutors, boolean remoteExecutionPreferred, long waitTimeout, boolean retryInSameJvm, Set<String> requirements) -
Method Summary
-
Field Details
-
goalExecutionId
public final long goalExecutionIdThe ID of the test goal execution the request is being made as part of.Corresponds to
MvnGoalExecutionStarted_1_0.id
. -
maxLocalExecutors
public final int maxLocalExecutorsThe 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 maxRemoteExecutorsThe 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 remoteExecutionPreferredWhether remote executors are tried first, falling back to local ones afterwaitTimeout
expires. -
waitTimeout
public final long waitTimeoutThe configuration duration the build waits for the remote test execution infrastructure to respond in milliseconds. -
retryInSameJvm
public final boolean retryInSameJvmDescribes whether the tests should be retried in the same JVM. -
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
-
-
Method Details