Package org.snakeyaml.engine.v2.env
Interface EnvConfig
-
public interface EnvConfig
Configurator for ENV format- See Also:
- Variable substitution
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getValueFor(java.lang.String name, java.lang.String separator, java.lang.String value, java.lang.String environment)
Implement deviation from the standard logic.
-
-
-
Method Detail
-
getValueFor
default java.util.Optional<java.lang.String> getValueFor(java.lang.String name, java.lang.String separator, java.lang.String value, java.lang.String environment)
Implement deviation from the standard logic. TODO implement wiki page- Parameters:
name
- - variable name in the templateseparator
- - separator in the template, can be :-, -, :?, ? or null if not presentvalue
- - default value or the error in the template or empty if not presentenvironment
- - the value from environment for the provided variable or null if unset- Returns:
- the value to apply in the template or empty to follow the standard logic
-
-