public class PropertiesResolverConfigurationProperties extends Object implements ConfigurationPropertiesResolverProvider, org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable
ConfigurationProperties that works based on a ConfigurationPropertiesResolverConfigurationPropertiesResolverProvider.Builder| Constructor and Description |
|---|
PropertiesResolverConfigurationProperties(ConfigurationPropertiesResolver configurationPropertiesResolver)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
ConfigurationPropertiesResolver |
getConfigurationPropertiesResolver()
Implementations must ensure that many calls to this method on the same object return the same value.
|
void |
initialise() |
Optional<Boolean> |
resolveBooleanProperty(String property) |
Optional<Object> |
resolveProperty(String propertyKey) |
Optional<String> |
resolveStringProperty(String property) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderpublic PropertiesResolverConfigurationProperties(ConfigurationPropertiesResolver configurationPropertiesResolver)
configurationPropertiesResolver - the resolver to use for getting the value of the property.public Optional<Object> resolveProperty(String propertyKey)
resolveProperty in interface org.mule.runtime.api.component.ConfigurationPropertiespublic Optional<Boolean> resolveBooleanProperty(String property)
resolveBooleanProperty in interface org.mule.runtime.api.component.ConfigurationPropertiespublic Optional<String> resolveStringProperty(String property)
resolveStringProperty in interface org.mule.runtime.api.component.ConfigurationPropertiespublic ConfigurationPropertiesResolver getConfigurationPropertiesResolver()
ConfigurationPropertiesResolverProvidergetConfigurationPropertiesResolver in interface ConfigurationPropertiesResolverProviderUnaryOperator instance for resolving configuration properties.public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.DisposableCopyright © 2003–2023 MuleSoft, Inc.. All rights reserved.