Package com.gradle.scan.eventmodel.maven
Class MvnGoalExecutionFinished_1_0
java.lang.Object
com.gradle.scan.eventmodel.maven.MvnGoalExecutionFinished_1_0
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
- Direct Known Subclasses:
MvnGoalExecutionFinished_1_1
@MavenVersion(since="3.3.1")
@MavenExtensionVersion(since="1.0",
until="1.0")
public class MvnGoalExecutionFinished_1_0
extends Object
implements com.gradle.scan.eventmodel.EventData
Indicates that a goal has finished executing.
An event stream will contain zero or more MvnGoalExecutionFinished_1_0
.
-
Field Summary
Modifier and TypeFieldDescriptionfinal @Nullable("when the goal execution is cacheable") MvnGoalExecutionCachingDisabledReasonCategory_1
The reason why the output of the goal execution was not cacheable.final @Nullable Long
The failure ID in case of a failed goal execution.final long
The ID of this goal execution.final @Nullable("when the goal execution is cacheable") String
The specific reason why the output of the goal execution was not cacheable.final @Nullable("when the goal execution outcome is not FROM_CACHE") String
The ID of the build invocation that produced the outputs being reused, if the goal execution outcome was FROM_CACHE.The outcome of this goal execution. -
Constructor Summary
ConstructorDescriptionMvnGoalExecutionFinished_1_0
(long id, @Nullable String originBuildInvocationId, MvnGoalExecutionOutcome_1 outcome, @Nullable MvnGoalExecutionCachingDisabledReasonCategory_1 cachingDisabledReasonCategory, @Nullable String nonCacheableReason, @Nullable Long failureId) -
Method Summary
-
Field Details
-
id
public final long idThe ID of this goal execution. Used to link to aMvnGoalExecutionStarted_1_0
event. -
originBuildInvocationId
@Nullable("when the goal execution outcome is not FROM_CACHE") public final @Nullable("when the goal execution outcome is not FROM_CACHE") String originBuildInvocationIdThe ID of the build invocation that produced the outputs being reused, if the goal execution outcome was FROM_CACHE. -
outcome
The outcome of this goal execution. -
cachingDisabledReasonCategory
@Nullable("when the goal execution is cacheable") public final @Nullable("when the goal execution is cacheable") MvnGoalExecutionCachingDisabledReasonCategory_1 cachingDisabledReasonCategoryThe reason why the output of the goal execution was not cacheable. -
nonCacheableReason
@Nullable("when the goal execution is cacheable") public final @Nullable("when the goal execution is cacheable") String nonCacheableReasonThe specific reason why the output of the goal execution was not cacheable. -
failureId
The failure ID in case of a failed goal execution.The failure ID is mapped to a
MvnException_1_0
inMvnExceptionData_1_0
.null
if the goal execution didn't fail.
-
-
Constructor Details
-
MvnGoalExecutionFinished_1_0
public MvnGoalExecutionFinished_1_0(long id, @Nullable @Nullable String originBuildInvocationId, MvnGoalExecutionOutcome_1 outcome, @Nullable @Nullable MvnGoalExecutionCachingDisabledReasonCategory_1 cachingDisabledReasonCategory, @Nullable @Nullable String nonCacheableReason, @Nullable @Nullable Long failureId)
-
-
Method Details