GradleArtifactTransformExecutionEntry

data class GradleArtifactTransformExecutionEntry(@Json(name = "artifactTransformExecutionName") val artifactTransformExecutionName: String, @Json(name = "transformActionType") val transformActionType: String, @Json(name = "inputArtifactName") val inputArtifactName: String, @Json(name = "changedAttributes") val changedAttributes: List<GradleArtifactTransformAttribute>, @Json(name = "outcome") val outcome: GradleArtifactTransformExecutionEntry.Outcome, @Json(name = "avoidanceOutcome") val avoidanceOutcome: GradleArtifactTransformExecutionEntry.AvoidanceOutcome, @Json(name = "duration") val duration: Long, @Json(name = "fingerprintingDuration") val fingerprintingDuration: Long? = null, @Json(name = "avoidanceSavings") val avoidanceSavings: Long? = null, @Json(name = "nonCacheabilityCategory") val nonCacheabilityCategory: GradleArtifactTransformExecutionEntry.NonCacheabilityCategory? = null, @Json(name = "nonCacheabilityReason") val nonCacheabilityReason: String? = null, @Json(name = "cacheArtifactSize") val cacheArtifactSize: Long? = null, @Json(name = "cacheArtifactRejectedReason") val cacheArtifactRejectedReason: GradleArtifactTransformExecutionEntry.CacheArtifactRejectedReason? = null, @Json(name = "skipReasonMessage") val skipReasonMessage: String? = null, @Json(name = "cacheKey") val cacheKey: String? = null)

Parameters

artifactTransformExecutionName

Artifact transform execution name.

transformActionType

The fully qualified class name of the artifact transform action.

inputArtifactName

The name of the input artifact transformed by this transform.

changedAttributes

The list of changed attributes merged from all transform execution requests.

outcome

The outcome of this artifact transform execution: * failed - Artifact transform execution which failed * success - Artifact transform execution which was successfully executed * from_cache - Artifact transform execution which was taken from cache * up_to_date - Artifact transform execution which was up-to-date * unknown - Artifact transform execution whose outcome is unknown * skipped - Artifact transform execution which was skipped. This is not emitted anymore, replaced by up_to_date.

avoidanceOutcome

The avoidance outcome of this artifact transform execution with respect to performance: * avoided_up_to_date - Artifact transform execution whose execution is avoided due to build incrementalism * avoided_from_local_cache - Artifact transform execution whose execution is avoided due to reusing a local build cache entry * avoided_from_remote_cache - Artifact transform execution whose execution is avoided due to reusing a remote build cache entry * executed_cacheable - Artifact transform execution which is executed but is cacheable * executed_not_cacheable - Artifact transform execution which is executed but is not cacheable * executed_unknown_cacheability - Artifact transform execution which is executed and whose cacheability can not be determined * avoided_unknown_reason - Artifact transform execution which was avoided for an unknown reason * skipped - Skipped artifact transform execution. This is not emitted anymore, replaced by up_to_date.

duration

The artifact transform execution duration in milliseconds.

fingerprintingDuration

The artifact transform execution fingerprinting duration in milliseconds. This duration is part of the complete artifact transform execution duration. null if the artifact transform is not fingerprinted.

avoidanceSavings

The artifact transform execution avoidance savings in milliseconds, which can be negative. Negative values indicate that it takes more time to reuse outputs than it did to create them originally. null if the information is not available.

nonCacheabilityCategory

The category of the non-cacheability reason: * build_cache_not_enabled - Caching is not enabled for the build * disabled_to_ensure_correctness - The artifact transform failed validation * not_cacheable - Caching is not enabled for this artifact transform * unknown - Reason for disabled caching is not known null when the artifact transform execution is cacheable

nonCacheabilityReason

The human-readable reason for a non-cacheable artifact transform execution. null when the artifact transform execution is cacheable.

cacheArtifactSize

The number of bytes of the produced or consumed cache artifact. For an artifact transform execution where the outputs are successfully stored to a local or remote cache, this is the size of the stored cache artifact. For an artifact transform execution execution where the outputs are successfully loaded from a local or remote cache, this is the size of the loaded cache artifact. null if the an artifact transform execution is not cacheable, or if the attempt to store or load the artifact from cache does not succeed.

cacheArtifactRejectedReason

The reason why the cache artifact is rejected: * artifact_size_too_large - The size of the artifact is larger than the remote build cache can accept. The value is null if the transform execution is not cacheable, or if the attempt to store the artifact does not succeed.

skipReasonMessage

The detailed reason why the transform execution is skipped. null if the transform execution is not skipped.

cacheKey

The build cache key. null if no build cache key was computed.

Constructors

Link copied to clipboard
constructor(@Json(name = "artifactTransformExecutionName") artifactTransformExecutionName: String, @Json(name = "transformActionType") transformActionType: String, @Json(name = "inputArtifactName") inputArtifactName: String, @Json(name = "changedAttributes") changedAttributes: List<GradleArtifactTransformAttribute>, @Json(name = "outcome") outcome: GradleArtifactTransformExecutionEntry.Outcome, @Json(name = "avoidanceOutcome") avoidanceOutcome: GradleArtifactTransformExecutionEntry.AvoidanceOutcome, @Json(name = "duration") duration: Long, @Json(name = "fingerprintingDuration") fingerprintingDuration: Long? = null, @Json(name = "avoidanceSavings") avoidanceSavings: Long? = null, @Json(name = "nonCacheabilityCategory") nonCacheabilityCategory: GradleArtifactTransformExecutionEntry.NonCacheabilityCategory? = null, @Json(name = "nonCacheabilityReason") nonCacheabilityReason: String? = null, @Json(name = "cacheArtifactSize") cacheArtifactSize: Long? = null, @Json(name = "cacheArtifactRejectedReason") cacheArtifactRejectedReason: GradleArtifactTransformExecutionEntry.CacheArtifactRejectedReason? = null, @Json(name = "skipReasonMessage") skipReasonMessage: String? = null, @Json(name = "cacheKey") cacheKey: String? = null)

Types

Link copied to clipboard

The avoidance outcome of this artifact transform execution with respect to performance: * avoided_up_to_date - Artifact transform execution whose execution is avoided due to build incrementalism * avoided_from_local_cache - Artifact transform execution whose execution is avoided due to reusing a local build cache entry * avoided_from_remote_cache - Artifact transform execution whose execution is avoided due to reusing a remote build cache entry * executed_cacheable - Artifact transform execution which is executed but is cacheable * executed_not_cacheable - Artifact transform execution which is executed but is not cacheable * executed_unknown_cacheability - Artifact transform execution which is executed and whose cacheability can not be determined * avoided_unknown_reason - Artifact transform execution which was avoided for an unknown reason * skipped - Skipped artifact transform execution. This is not emitted anymore, replaced by up_to_date.

Link copied to clipboard

The reason why the cache artifact is rejected: * artifact_size_too_large - The size of the artifact is larger than the remote build cache can accept. The value is null if the transform execution is not cacheable, or if the attempt to store the artifact does not succeed.

Link copied to clipboard

The category of the non-cacheability reason: * build_cache_not_enabled - Caching is not enabled for the build * disabled_to_ensure_correctness - The artifact transform failed validation * not_cacheable - Caching is not enabled for this artifact transform * unknown - Reason for disabled caching is not known null when the artifact transform execution is cacheable

Link copied to clipboard

The outcome of this artifact transform execution: * failed - Artifact transform execution which failed * success - Artifact transform execution which was successfully executed * from_cache - Artifact transform execution which was taken from cache * up_to_date - Artifact transform execution which was up-to-date * unknown - Artifact transform execution whose outcome is unknown * skipped - Artifact transform execution which was skipped. This is not emitted anymore, replaced by up_to_date.

Properties

Link copied to clipboard
val avoidanceSavings: Long? = null
Link copied to clipboard
val cacheArtifactSize: Long? = null
Link copied to clipboard
val cacheKey: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard