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
Fields Modifier and Type Field Description @Nullable("when the goal execution is cacheable") MvnGoalExecutionCachingDisabledReasonCategory_1
cachingDisabledReasonCategory
The reason why the output of the goal execution was not cacheable.@Nullable Long
failureId
The failure ID in case of a failed goal execution.long
id
The ID of this goal execution.@Nullable("when the goal execution is cacheable") String
nonCacheableReason
The specific reason why the output of the goal execution was not cacheable.@Nullable("when the goal execution outcome is not FROM_CACHE") String
originBuildInvocationId
The ID of the build invocation that produced the outputs being reused, if the goal execution outcome was FROM_CACHE.MvnGoalExecutionOutcome_1
outcome
The outcome of this goal execution.
-
Constructor Summary
Constructors Constructor Description MvnGoalExecutionFinished_1_0(long id, @Nullable String originBuildInvocationId, MvnGoalExecutionOutcome_1 outcome, @Nullable MvnGoalExecutionCachingDisabledReasonCategory_1 cachingDisabledReasonCategory, @Nullable String nonCacheableReason, @Nullable Long failureId)
-
-
-
Field Detail
-
id
public final long id
The 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 originBuildInvocationId
The ID of the build invocation that produced the outputs being reused, if the goal execution outcome was FROM_CACHE.
-
outcome
public final MvnGoalExecutionOutcome_1 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 cachingDisabledReasonCategory
The 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 nonCacheableReason
The specific reason why the output of the goal execution was not cacheable.
-
failureId
@Nullable public final @Nullable Long 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 Detail
-
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)
-
-