Class LocalisationConfigurationPropertiesProvider
java.lang.Object
org.mule.runtime.api.component.AbstractComponent
org.mule.runtime.properties.api.DefaultConfigurationPropertiesProvider
org.mule.test.crafted.localisation.properties.extension.LocalisationConfigurationPropertiesProvider
- All Implemented Interfaces:
org.mule.runtime.api.component.Component,org.mule.runtime.api.lifecycle.Initialisable,org.mule.runtime.properties.api.ConfigurationPropertiesProvider
public class LocalisationConfigurationPropertiesProvider
extends org.mule.runtime.properties.api.DefaultConfigurationPropertiesProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.mule.runtime.api.component.Component
org.mule.runtime.api.component.Component.Annotations -
Field Summary
Fields inherited from class org.mule.runtime.properties.api.DefaultConfigurationPropertiesProvider
configurationAttributes, fileLocation, UNKNOWNFields inherited from class org.mule.runtime.api.component.AbstractComponent
ANNOTATION_NAME, LOCATION_KEY, ROOT_CONTAINER_NAME_KEYFields inherited from interface org.mule.runtime.api.component.Component
ANNOTATIONS_PROPERTY_NAME, NS_MULE_DOCUMENTATION, NS_MULE_PARSER_METADATAFields inherited from interface org.mule.runtime.api.lifecycle.Initialisable
PHASE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionLocalisationConfigurationPropertiesProvider(org.mule.runtime.properties.api.ResourceProvider resourceProvider, String file, String locale) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateValue(String key, String value) Optional<org.mule.runtime.properties.api.ConfigurationProperty>Returns the formatted given key according to the format specified on the configuration properties fileMethods inherited from class org.mule.runtime.properties.api.DefaultConfigurationPropertiesProvider
createValueHelper, getDescription, getResourceInputStream, initialise, toStringMethods inherited from class org.mule.runtime.api.component.AbstractComponent
getAnnotation, getAnnotations, getDslSource, getIdentifier, getLocation, getRepresentation, getRootContainerLocation, initRootContainerName, setAnnotations
-
Constructor Details
-
LocalisationConfigurationPropertiesProvider
-
-
Method Details
-
provide
public Optional<org.mule.runtime.properties.api.ConfigurationProperty> provide(String configurationAttributeKey) Returns the formatted given key according to the format specified on the configuration properties file- Specified by:
providein interfaceorg.mule.runtime.properties.api.ConfigurationPropertiesProvider- Overrides:
providein classorg.mule.runtime.properties.api.DefaultConfigurationPropertiesProvider- Parameters:
configurationAttributeKey-- Returns:
- an Optional with the formatted value of the given key or
Optional.empty()otherwise.
-
createValue
- Overrides:
createValuein classorg.mule.runtime.properties.api.DefaultConfigurationPropertiesProvider
-