ConfigurationValue

A primitive configuration value

Properties

Link copied to clipboard
abstract val asBoolean: Boolean

This value as a boolean

Link copied to clipboard
abstract val asDouble: Double

This value as a double

Link copied to clipboard
abstract val asIdentifier: String

This value as an identifier

Link copied to clipboard

This element as an ConfigurationList

Link copied to clipboard
abstract val asLong: Long

This value as a long

Link copied to clipboard

This element as an ConfigurationObject

Link copied to clipboard

This value as a service name, matches against services in the current provider context

Link copied to clipboard
abstract val asString: String

This value as a string

Link copied to clipboard

This element as an ConfigurationValue

Functions

Link copied to clipboard
abstract fun <T : Enum<T>> asEnum(enum: Class<T>): T

This value as an enum, matches the enum value by name case-insensitively (e.g. "get" matches HttpMethod.GET)

Link copied to clipboard
inline fun <T : Enum<T>> ConfigurationValue.asEnum(): T

Convenience wrapper for ConfigurationValue.asEnum

Link copied to clipboard

This value as a service operation name, matches against operations in the current provider context and service