public class EnvironmentVariableExpander extends Object
System.getenv(String) but it will perform further expansion if the
environment variable would expand to another dollar-notation, eg $VAL_NAME
Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and
any service environment variables. If a variable cannot be resolved, the reference in the input string will be
unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never
be expanded, regardless of whether the variable exists or not. Defaults to "".| Constructor and Description |
|---|
EnvironmentVariableExpander() |
Copyright © 2016–2019. All rights reserved.