jvmMain.ConstantRaptorSettingsValueProvider.kt Maven / Gradle / Ivy
package io.fluidsonic.raptor
private class ConstantRaptorSettingsValueProvider(
override val value: Value?,
) : RaptorSettings.ValueProvider {
override val description: String
get() = "constant"
}
public fun RaptorSettings.ValueProvider.Companion.constant(value: Value?): RaptorSettings.ValueProvider =
ConstantRaptorSettingsValueProvider(value)