All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.main.kotlin.com.gabrielfeo.develocity.api.model.GradleBuildTimeBreakdown.kt Maven / Gradle / Ivy

The newest version!
/**
 *
 * Please note:
 * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * Do not edit this file manually.
 *
 */

@file:Suppress(
    "ArrayInDataClass",
    "EnumEntryName",
    "RemoveRedundantQualifierName",
    "UnusedImport"
)

package com.gabrielfeo.develocity.api.model


import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass

/**
 * The build time breakdown of a Gradle build.
 *
 * @param total Total duration of the build in milliseconds.
 * @param initialization The elapsed time from the very start of the build to the moment when any kind of configuration starts in milliseconds.
 * @param configuration The elapsed time to build plugins, execute build scripts, configure projects and create the task execution plan in milliseconds. `null` if the build failed before the configuration phase.
 * @param execution The elapsed time from the start of the execution of the first task of the main build to the end of the execution of the last task of the main build in milliseconds. `null` if the build failed before the execution phase.
 * @param endOfBuild The elapsed time from the end of the execution of the last task of the main build to the end of the build in milliseconds. `null` if there was no end of build phase. `null` if the build failed before the end of build phase.
 */


data class GradleBuildTimeBreakdown (

    /* Total duration of the build in milliseconds. */
    @Json(name = "total")
    val total: kotlin.Long,

    /* The elapsed time from the very start of the build to the moment when any kind of configuration starts in milliseconds. */
    @Json(name = "initialization")
    val initialization: kotlin.Long,

    /* The elapsed time to build plugins, execute build scripts, configure projects and create the task execution plan in milliseconds. `null` if the build failed before the configuration phase. */
    @Json(name = "configuration")
    val configuration: kotlin.Long? = null,

    /* The elapsed time from the start of the execution of the first task of the main build to the end of the execution of the last task of the main build in milliseconds. `null` if the build failed before the execution phase. */
    @Json(name = "execution")
    val execution: kotlin.Long? = null,

    /* The elapsed time from the end of the execution of the last task of the main build to the end of the build in milliseconds. `null` if there was no end of build phase. `null` if the build failed before the end of build phase. */
    @Json(name = "endOfBuild")
    val endOfBuild: kotlin.Long? = null

) {


}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy