public class ConfigurationPropertiesComponent extends org.mule.runtime.api.meta.AbstractAnnotatedObject implements ConfigurationPropertiesProvider, org.mule.runtime.api.lifecycle.Initialisable
| Constructor and Description |
|---|
ConfigurationPropertiesComponent(String fileLocation,
ResourceProvider resourceProvider) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ConfigurationProperty> |
getConfigurationProperty(String configurationAttributeKey) |
String |
getDescription() |
void |
initialise() |
public ConfigurationPropertiesComponent(String fileLocation, ResourceProvider resourceProvider) throws ConfigurationPropertiesException
ConfigurationPropertiesExceptionpublic 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 ConfigurationPropertiesProviderpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.