Class 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 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. References TaskIdentity_1_0.id or TransformExecutionStarted_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 in ExceptionData_1_0.

    • Constructor Detail

      • BuildCacheRemoteDisabled_1_0

        public BuildCacheRemoteDisabled_1_0​(String buildCacheIdentifier,
                                            String cacheKey,
                                            BuildCacheOperationType_1 operationType,
                                            @Nullable
                                            @Nullable Long workId,
                                            long failureId)