getValueFor

open fun getValueFor(name: String, separator: String?, value: String?, environment: String?): String?

Implement deviation from the standard logic. TODO implement wiki page

Parameters

name

variable name in the template

separator

separator in the template, can be :-, -, :?, ? or null if not present

value

default value or the error in the template or empty if not present

environment

the value from environment for the provided variable or null if unset