DynamicConfigurationValue

A representation of a configuration value of type T with update information. It contains a non-empty set of value entries valueEntries, sorted ascending by version.

Each entry represents a default value of type T that shall be applied from the given version with the given update strategy.

Inheritors

Constructors

Link copied to clipboard
constructor(valueEntries: SortedSet<DynamicConfigurationValue.ValueEntry<T>>)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class ValueEntry<T : Any>(val fromVersion: Int, val defaultValue: T, val updateStrategy: ConfigurationUpdateStrategy) : Comparable<DynamicConfigurationValue.ValueEntry<T>>

Represents the defaultValue of type T that shall be applied from fromVersion with updateStrategy.

Properties

Functions

Link copied to clipboard

Value entries from fromVersion to toVersion, inclusive.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String