public class EnvironmentPropertiesConfigurationProvider extends Object implements ConfigurationPropertiesProvider
ConfigurationPropertiesProvider implementation that makes the system properties and the environment variables available
as configuration property.
System properties take precedence over environment variables.| Constructor and Description |
|---|
EnvironmentPropertiesConfigurationProvider()
Creates an
EnvironmentPropertiesConfigurationProvider with the default configuration. |
| Modifier and Type | Method and Description |
|---|---|
Optional<ConfigurationProperty> |
getConfigurationProperty(String configurationAttributeKey) |
String |
getDescription() |
public EnvironmentPropertiesConfigurationProvider()
EnvironmentPropertiesConfigurationProvider with the default configuration.public Optional<ConfigurationProperty> getConfigurationProperty(String configurationAttributeKey)
getConfigurationProperty in interface ConfigurationPropertiesProviderconfigurationAttributeKey - the key of the configuration attribute.ConfigurationProperty associated with the key. May be empty if that key is not present.public String getDescription()
getDescription in interface ConfigurationPropertiesProviderCopyright © 2003–2020 MuleSoft, Inc.. All rights reserved.