HostMappedVar

data class HostMappedVar(val mapped: String, val defaultValue: String? = null, val name: String) : Record, EnvConfig.EnvVar

Maps an environment variable which uses a host environment variable (usually, at the same name).

Constructors

Link copied to clipboard
constructor(mapped: String, defaultValue: String? = null, name: String)

Properties

Link copied to clipboard
val defaultValue: String? = null
Link copied to clipboard
open val isPresent: Boolean

Indicate whether a value can be resolved for this env var.

Link copied to clipboard
Link copied to clipboard
open override val name: String

Name for the environment variable.

Link copied to clipboard

Source type for this environment variable; governs how a value is resolved.

Link copied to clipboard
open override val value: String?

Value for the environment variable; if evaluated to null, the variable is skipped.