SystemEnvVariable

class SystemEnvVariable @JvmOverloads constructor(name: String, defaultValue: Serializable? = null) : DependentVariable<Serializable> (source)

A variable that retrieves its value from a system environment variable.

Parameters

name

the name of the environment variable

defaultValue

the default value to return if the environment variable is not set

Constructors

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

Types

Link copied to clipboard
object Companion

Expose the function used to load the environment variable.

Functions

Link copied to clipboard
open override fun getWith(variables: MutableMap<String, Any>?): Serializable

Given the current controlled variables, computes the current values for this variable.