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
AnEventData
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
Fields Modifier and Type Field Description String
buildCacheIdentifier
The identifier of the affected remote build cache.String
cacheKey
The cache key that identifies the artifact in the build cache.long
failureId
The failure id that caused disabling the build cache.BuildCacheOperationType_1
operationType
The type of build cache operation that caused the failure.@Nullable("when the work unit related to the build cache operation that disabled the build cache was not captured") Long
workId
The id of the work unit that triggered the build cache operation that caused the failure.
-
Constructor Summary
Constructors Constructor Description BuildCacheRemoteDisabled_1_0(String buildCacheIdentifier, String cacheKey, BuildCacheOperationType_1 operationType, @Nullable Long workId, long failureId)
-
-
-
Field Detail
-
buildCacheIdentifier
public final String buildCacheIdentifier
The identifier of the affected remote build cache.
-
cacheKey
public final String cacheKey
The cache key that identifies the artifact in the build cache.
-
operationType
public final BuildCacheOperationType_1 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 workId
The 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 failureId
The failure id that caused disabling the build cache.The failure id is mapped to a
Exception_3_0
inExceptionData_1_0
.
-
-
Constructor Detail
-
BuildCacheRemoteDisabled_1_0
public BuildCacheRemoteDisabled_1_0(String buildCacheIdentifier, String cacheKey, BuildCacheOperationType_1 operationType, @Nullable @Nullable Long workId, long failureId)
-
-