TaskLength

In package com.cdsap.talaiot.entities

class com.cdsap.talaiot.entities.TaskLength

Main Entity to contain the information of the Task tracked

Fields

ms: Long

Duration of the execution of the task in milliseconds

taskName: String

Task name of the task tracked

taskPath: String

Task name with the path of the task tracked, it contains the modules or logic structure applied: android:core:lib:assembleDebug

Custom task execution result

rootNode: Boolean

In case we are executing a general task like assembleDebug, the length of the execution is not tracked, Talaiot aggregates the execution of the different tasks and need to inform that a given task it was invoke as main task to execute

module: String

module which the task belongs

taskDependencies: List

List of dependencies required to be executed before the current task

workerId: String

String id of gradle worker that executed this task

startMs: Long

Timestamp of start in millis

stopMs: Long

Timestamp of finish in millis

var critical: Boolean

task is on the critical path of execution

Constructors

constructor(ms: Long, taskName: String, taskPath: String, state: TaskMessageState, rootNode: Boolean, module: String, taskDependencies: List, workerId: String, startMs: Long, stopMs: Long, critical: Boolean)

Main Entity to contain the information of the Task tracked

Parameters:
  • ms: Long
  • taskName: String
  • taskPath: String
  • state: TaskMessageState
  • rootNode: Boolean
  • module: String
  • taskDependencies: List
  • workerId: String
  • startMs: Long
  • stopMs: Long
  • critical: Boolean