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

net.nemerosa.ontrack.model.preferences.Preferences.kt Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
package net.nemerosa.ontrack.model.preferences

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import net.nemerosa.ontrack.model.annotations.APIDescription

/**
 * Representation for the preferences of a user.
 *
 * @property branchViewVsNames Displaying the names of the validation stamps
 * @property branchViewVsGroups Grouping validations per status
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@APIDescription("Preferences of a user")
data class Preferences(
    @APIDescription("Branch view VS names")
    var branchViewVsNames: Boolean = DEFAULT_BRANCH_VIEW_OPTION,
    @APIDescription("Branch view VS groups")
    var branchViewVsGroups: Boolean = DEFAULT_BRANCH_VIEW_OPTION,
) {
    companion object {
        const val DEFAULT_BRANCH_VIEW_OPTION = false
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy