Class MvnTestSelectionFinished_1_0
java.lang.Object
com.gradle.scan.eventmodel.maven.pts.MvnTestSelectionFinished_1_0
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
- Direct Known Subclasses:
MvnTestSelectionFinished_1_1
@MavenVersion(since="3.3.1")
@MavenExtensionVersion(since="1.14",
until="1.17")
public class MvnTestSelectionFinished_1_0
extends Object
implements com.gradle.scan.eventmodel.EventData
Indicates the culmination and success or failure outcome of the selection process.
Zero or more MvnTestSelectionFinished_1_0
events may be published.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionfinal @Nullable("if selection was successful or no exception is available for failureType") Long
The failure ID in case the test selection failed.final @Nullable("if selection process was successful") MvnTestSelectionFailureType_1
A category of the failure that prevented Predictive Test Selection from being applied.final long
The ID of the test goal execution the request is being made as part of. -
Constructor Summary
ConstructorDescriptionMvnTestSelectionFinished_1_0
(long goalExecutionId, @Nullable MvnTestSelectionFailureType_1 failureType, @Nullable Long failureId) -
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
andMvnTestSelectionStarted_1_0.goalExecutionId
. -
failureType
@Nullable("if selection process was successful") public final @Nullable("if selection process was successful") MvnTestSelectionFailureType_1 failureTypeA category of the failure that prevented Predictive Test Selection from being applied. -
failureId
@Nullable("if selection was successful or no exception is available for failureType") public final @Nullable("if selection was successful or no exception is available for failureType") Long failureIdThe failure ID in case the test selection failed.A failure ID is mapped to a
MvnException_1_0
inMvnExceptionData_1_0
.
-
-
Constructor Details
-
MvnTestSelectionFinished_1_0
public MvnTestSelectionFinished_1_0(long goalExecutionId, @Nullable @Nullable MvnTestSelectionFailureType_1 failureType, @Nullable @Nullable Long failureId)
-
-
Method Details