MavenBuildCachePerformanceGoalExecutionEntry

constructor(@Json(name = "goalName") goalName: String, @Json(name = "mojoType") mojoType: String, @Json(name = "goalExecutionId") goalExecutionId: String, @Json(name = "goalProjectName") goalProjectName: String, @Json(name = "avoidanceOutcome") avoidanceOutcome: MavenBuildCachePerformanceGoalExecutionEntry.AvoidanceOutcome, @Json(name = "duration") duration: Long, @Json(name = "fingerprintingDuration") fingerprintingDuration: Long? = null, @Json(name = "avoidanceSavings") avoidanceSavings: Long? = null, @Json(name = "nonCacheabilityCategory") nonCacheabilityCategory: MavenBuildCachePerformanceGoalExecutionEntry.NonCacheabilityCategory? = null, @Json(name = "nonCacheabilityReason") nonCacheabilityReason: String? = null, @Json(name = "cacheArtifactSize") cacheArtifactSize: Long? = null, @Json(name = "cacheArtifactRejectedReason") cacheArtifactRejectedReason: MavenBuildCachePerformanceGoalExecutionEntry.CacheArtifactRejectedReason? = null, @Json(name = "cacheKey") cacheKey: String? = null)

Parameters

goalName

The goal name.

mojoType

The fully qualified class name of the Mojo that provides the implementation of this goal.

goalExecutionId

The goal execution ID.

goalProjectName

The goal project name.

avoidanceOutcome

The avoidance outcome of this task with respect to performance: * avoided_from_local_cache - Goal whose execution is avoided due to reusing a local build cache entry * avoided_from_remote_cache - Goal whose execution is avoided due to reusing a remote build cache entry * executed_cacheable - Goal which is executed but is cacheable * executed_not_cacheable - Goal which is executed but is not cacheable * executed_unknown_cacheability - Goal which is executed and whose cacheability cannot be determined * skipped - Skipped goal

duration

The goal duration in milliseconds.

fingerprintingDuration

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

avoidanceSavings

The goal 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_disabled_by_user - The build cache is disabled by the user * goal_execution_marked_non_cacheable - The goal execution is marked as non-cacheable * goal_not_supported - The goal does not support build caching * no_gradle_enterprise_server_configured - No Develocity server is configured * non_clean_build - The clean lifecycle is not executed * not_entitled - The Develocity license entitlements does not allow Maven build caching * offline_build - The build is run in offline mode * unknown - Reason for disabled caching is not known * unknown_entitlements - The Develocity license entitlements cannot be checked null when the goal execution is cacheable or if the information is not available.

nonCacheabilityReason

The human-readable reason for a non-cacheable goal execution. null when the goal execution is cacheable or if the information is not available.

cacheArtifactSize

The number of bytes of the produced or consumed cache artifact. For a goal execution where the outputs are successfully stored to a local or remote cache, this is the size of the stored cache artifact. For a goal 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 goal 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 has been rejected: * artifact_size_too_large - The size of the artifact is larger than the remote build cache can accept. null if the goal is not cacheable, or if the attempt to store the artifact does not succeed.

cacheKey

Build cache key. null if no build cache key was computed (e.g. when fingerprinting failed).