DotEnvVar

data class DotEnvVar(val file: String, val name: String, val value: String?) : Record, EnvConfig.EnvVar

Maps an environment variable which originates from a .env file.

Constructors

Link copied to clipboard
constructor(file: String, name: String, value: String?)

Properties

Link copied to clipboard
Link copied to clipboard
open val isPresent: Boolean

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

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.