public class EnvSubst extends MgnlYamlConstruct
!env
syntax.
For instance: baseUrl: !env https://${ENV}.api.com/endpoint
Is only turned applied when the FEATURE_FLAG_PROPERTY
is set to true.Modifier and Type | Field and Description |
---|---|
static String |
FEATURE_FLAG_PROPERTY |
static String |
TAG |
Constructor and Description |
---|
EnvSubst(Consumer<DefinitionProvider.Problem> problemCollector,
boolean featureFlagEnabled) |
Modifier and Type | Method and Description |
---|---|
Object |
construct(org.yaml.snakeyaml.nodes.Node node) |
getConstructor, reportProblem, setConstructor
public static final String FEATURE_FLAG_PROPERTY
public static final String TAG
public EnvSubst(Consumer<DefinitionProvider.Problem> problemCollector, boolean featureFlagEnabled)
public Object construct(org.yaml.snakeyaml.nodes.Node node)
Copyright © 2003–2021 Magnolia International Ltd.. All rights reserved.