Package com.gradle.scan.eventmodel.maven
Class MvnTestStarted_1_4
java.lang.Object
com.gradle.scan.eventmodel.maven.MvnTestStarted_1_0
com.gradle.scan.eventmodel.maven.MvnTestStarted_1_1
com.gradle.scan.eventmodel.maven.MvnTestStarted_1_2
com.gradle.scan.eventmodel.maven.MvnTestStarted_1_3
com.gradle.scan.eventmodel.maven.MvnTestStarted_1_4
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@MavenVersion(since="3.3.1")
@MavenExtensionVersion(since="1.18")
public class MvnTestStarted_1_4
extends MvnTestStarted_1_3
-
Field Summary
Modifier and TypeFieldDescriptionfinal @Nullable("if the test unit is not a test class") MvnTestExecutorAssignmentReason_1
Indicates why a test was run on this particular test executor.final long
The ID of the test executor that executed the test.final @Nullable("if the test unit is not a test class") MvnTestExecutorRestriction_1
The configured restriction, if any.Fields inherited from class com.gradle.scan.eventmodel.maven.MvnTestStarted_1_3
displayName
Fields inherited from class com.gradle.scan.eventmodel.maven.MvnTestStarted_1_2
parent, testType
Fields inherited from class com.gradle.scan.eventmodel.maven.MvnTestStarted_1_1
testSelectionReasonOrdinal
Fields inherited from class com.gradle.scan.eventmodel.maven.MvnTestStarted_1_0
className, goalId, id, name
-
Constructor Summary
ConstructorDescriptionMvnTestStarted_1_4
(long goalId, long id, String name, String className, @Nullable Integer testSelectionReasonOrdinal, @Nullable Long parent, MvnTestType_1 testType, @Nullable String displayName, @Nullable MvnTestExecutorRestriction_1 executorRestriction, long executorId, @Nullable MvnTestExecutorAssignmentReason_1 executorAssignmentReason) -
Method Summary
-
Field Details
-
executorRestriction
@Nullable("if the test unit is not a test class") public final @Nullable("if the test unit is not a test class") MvnTestExecutorRestriction_1 executorRestrictionThe configured restriction, if any. Only applies to events withMvnTestStarted_1_2.testType
== CLASS -
executorId
public final long executorIdThe ID of the test executor that executed the test.Corresponds to
MvnTestExecutorAssigned_1_0.id
. -
executorAssignmentReason
@Nullable("if the test unit is not a test class") public final @Nullable("if the test unit is not a test class") MvnTestExecutorAssignmentReason_1 executorAssignmentReasonIndicates why a test was run on this particular test executor. Only applies to events withMvnTestStarted_1_2.testType
== CLASSThe ordinal value will be mapped to a descriptive message in the Build Scan test views.
-
-
Constructor Details
-
MvnTestStarted_1_4
public MvnTestStarted_1_4(long goalId, long id, String name, String className, @Nullable @Nullable Integer testSelectionReasonOrdinal, @Nullable @Nullable Long parent, MvnTestType_1 testType, @Nullable @Nullable String displayName, @Nullable @Nullable MvnTestExecutorRestriction_1 executorRestriction, long executorId, @Nullable @Nullable MvnTestExecutorAssignmentReason_1 executorAssignmentReason)
-
-
Method Details
-
equals
- Overrides:
equals
in classMvnTestStarted_1_3
-
hashCode
public int hashCode()- Overrides:
hashCode
in classMvnTestStarted_1_3
-
toString
- Overrides:
toString
in classMvnTestStarted_1_3
-