Class TestSelectionFinished_1_0

java.lang.Object
com.gradle.scan.eventmodel.gradle.pts.TestSelectionFinished_1_0
All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
Direct Known Subclasses:
TestSelectionFinished_1_1

@GradleVersion(since="5.4") @PluginVersion(since="3.10", until="3.13") public class TestSelectionFinished_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 TestSelectionFinished_1_0 events may be published.

See Also:
  • Field Details

    • task

      public final long task
      The ID of the test task the request is being made as part of.

      Corresponds to TaskStarted_1_0.id and TestSelectionStarted_1_0.task.

    • failureType

      @Nullable("if selection process was successful") public final @Nullable("if selection process was successful") TestSelectionFailureType_1 failureType
      A 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 failureId
      The failure ID in case the test selection failed.

      A failure ID is mapped to a Exception_3_0 in ExceptionData_1_1.

  • Constructor Details

    • TestSelectionFinished_1_0

      public TestSelectionFinished_1_0(long task, @Nullable @Nullable TestSelectionFailureType_1 failureType, @Nullable @Nullable Long failureId)
  • Method Details