@Deprecated public class DefaultConfigurationPropertiesProvider extends org.mule.runtime.api.component.AbstractComponent implements ConfigurationPropertiesProvider, org.mule.runtime.api.lifecycle.Initialisable
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ConfigurationProperty> |
configurationAttributes
Deprecated.
|
protected String |
encoding
Deprecated.
|
protected String |
fileLocation
Deprecated.
|
protected static String |
PROPERTIES_EXTENSION
Deprecated.
|
protected org.mule.runtime.properties.api.ResourceProvider |
resourceProvider
Deprecated.
|
protected static String |
UNKNOWN
Deprecated.
|
protected static String |
YAML_EXTENSION
Deprecated.
|
| Constructor and Description |
|---|
DefaultConfigurationPropertiesProvider(String fileLocation,
ResourceProvider resourceProvider)
Deprecated.
|
DefaultConfigurationPropertiesProvider(String fileLocation,
String encoding,
ResourceProvider resourceProvider)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createAttributesFromYamlObject(String parentPath,
Object parentYamlObject,
Object yamlObject)
Deprecated.
|
protected String |
createKey(String parentKey,
String key)
Deprecated.
|
protected String |
createValue(String key,
String value)
Deprecated.
|
Optional<ConfigurationProperty> |
getConfigurationProperty(String configurationAttributeKey)
Deprecated.
|
String |
getDescription()
Deprecated.
|
protected InputStream |
getResourceInputStream(String file)
Deprecated.
|
protected InputStreamReader |
getResourceInputStreamReader(String file)
Deprecated.
|
void |
initialise()
Deprecated.
|
protected void |
readAttributesFromFile(InputStreamReader is)
Deprecated.
|
getAnnotation, getAnnotations, getDslSource, getIdentifier, getLocation, getRepresentation, getRootContainerLocation, initRootContainerName, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprovideprotected static final String PROPERTIES_EXTENSION
protected static final String YAML_EXTENSION
protected static final String UNKNOWN
protected final Map<String,ConfigurationProperty> configurationAttributes
protected String fileLocation
protected String encoding
protected org.mule.runtime.properties.api.ResourceProvider resourceProvider
public DefaultConfigurationPropertiesProvider(String fileLocation, String encoding, ResourceProvider resourceProvider)
public DefaultConfigurationPropertiesProvider(String fileLocation, ResourceProvider resourceProvider)
public Optional<ConfigurationProperty> getConfigurationProperty(String configurationAttributeKey)
configurationAttributeKey - 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 org.mule.runtime.properties.api.ConfigurationPropertiesProviderprotected InputStream getResourceInputStream(String file) throws IOException
IOExceptionprotected InputStreamReader getResourceInputStreamReader(String file) throws IOException
IOExceptionpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionprotected void readAttributesFromFile(InputStreamReader is) throws IOException
IOExceptionprotected void createAttributesFromYamlObject(String parentPath, Object parentYamlObject, Object yamlObject)
Copyright © 2003–2024 MuleSoft, Inc.. All rights reserved.