In package com.cdsap.talaiot.entities
class com.cdsap.talaiot.entities.ExecutionReport
Since the user of the plugin might customize metrics provider we have to make almost everything here optional
Fields
cacheRatio: String?
Cache ratio of the tasks = tasks_from_cache / all_tasks
var environment: Environment
information about the environment of gradle execution
var customProperties: CustomProperties
custom properties defined in com.cdsap.talaiot.configuration.MetricsConfiguration
var beginMs: String?
timestamp of gradle execution start
var endMs: String?
timestamp of gradle execution finish
var durationMs: String?
duration in millis of gradle execution
var configurationDurationMs: String?
duration of the configuration phase
var tasks: List?
list of executed tasks filtered according to com.cdsap.talaiot.configuration.FilterConfiguration
var unfilteredTasks: List?
list of executed tasks
var buildId: String?
unique build identifier generated by Talaiot
var rootProject: String?
name of the root gradle project
var requestedTasks: String?
gradle tasks requested by user, e.g. "assemble test"
var success: Boolean
true if build finished successfully, false otherwise
var scanLink: String?
link to the generated gradle scan
var buildInvocationId: String?
unique build identifier generated by Gradle's org.gradle.internal.scan.scopeids.BuildScanScopeIds. It has the same value for multi-stage builds, e.g. wrapper invocation and actual tasks requested. For more info see comments at com.cdsap.talaiot.metrics.GradleBuildInvocationIdMetric
Constructors
constructor(environment: Environment, customProperties: CustomProperties, beginMs: String?, endMs: String?, durationMs: String?, configurationDurationMs: String?, tasks: List?, unfilteredTasks: List?, buildId: String?, rootProject: String?, requestedTasks: String?, success: Boolean, scanLink: String?, buildInvocationId: String?)
Since the user of the plugin might customize metrics provider we have to make almost everything here optional
-
environment: Environment
-
customProperties: CustomProperties
-
beginMs: String?
-
endMs: String?
-
durationMs: String?
-
configurationDurationMs: String?
-
tasks: List?
-
unfilteredTasks: List?
-
buildId: String?
-
rootProject: String?
-
requestedTasks: String?
-
success: Boolean
-
scanLink: String?
-
buildInvocationId: String?
Methods
fun flattenBuildEnv(): Map
- No parameters
fun estimateCriticalPath()
Fills in the TaskLength.critical to later check which task was on the critical (longest in terms of time) path
This would be a lot faster if it was actually a weighted graph
- No parameters