Class BuildCacheRemoteDisabled_1_0
java.lang.Object
com.gradle.scan.eventmodel.gradle.BuildCacheRemoteDisabled_1_0
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@GradleVersion(since="8.6")
@PluginVersion(since="3.17")
public class BuildCacheRemoteDisabled_1_0
extends Object
implements com.gradle.scan.eventmodel.EventData
An
EventData
that is published when the remote build cache is being disabled due to a failure.
Zero or more BuildCacheRemoteDisabled_1_0
events may be published.
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
The identifier of the affected remote build cache.final String
The cache key that identifies the artifact in the build cache.final long
The failure id that caused disabling the build cache.The type of build cache operation that caused the failure.final @Nullable("when the work unit related to the build cache operation that disabled the build cache was not captured") Long
The id of the work unit that triggered the build cache operation that caused the failure. -
Constructor Summary
ConstructorDescriptionBuildCacheRemoteDisabled_1_0
(String buildCacheIdentifier, String cacheKey, BuildCacheOperationType_1 operationType, @Nullable Long workId, long failureId) -
Method Summary
-
Field Details
-
buildCacheIdentifier
The identifier of the affected remote build cache. -
cacheKey
The cache key that identifies the artifact in the build cache. -
operationType
The type of build cache operation that caused the failure. -
workId
@Nullable("when the work unit related to the build cache operation that disabled the build cache was not captured") public final @Nullable("when the work unit related to the build cache operation that disabled the build cache was not captured") Long workIdThe id of the work unit that triggered the build cache operation that caused the failure. ReferencesTaskIdentity_1_0.id
orTransformExecutionStarted_1_0.id
. -
failureId
public final long failureIdThe failure id that caused disabling the build cache.The failure id is mapped to a
Exception_3_0
inExceptionData_1_0
.
-
-
Constructor Details
-
BuildCacheRemoteDisabled_1_0
public BuildCacheRemoteDisabled_1_0(String buildCacheIdentifier, String cacheKey, BuildCacheOperationType_1 operationType, @Nullable @Nullable Long workId, long failureId)
-
-
Method Details