net.nemerosa.ontrack.model.preferences.Preferences.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontrack-model Show documentation
Show all versions of ontrack-model Show documentation
Ontrack module: ontrack-model
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