public interface ConfigurationProperties
Configuration at the SPI layer
and
uses reflection to identify the individual properties that are available for
an application to manipulate.Modifier and Type | Method and Description |
---|---|
ConfigurationProperty |
getProperty(String name)
Get a particular
ConfigurationProperty by name. |
List<String> |
getPropertyNames()
Get the list of properties names for this
Configuration . |
void |
setPropertyValue(String name,
Object value)
Set the value of the
Configuration property by name. |
List<String> getPropertyNames()
Configuration
.ConfigurationProperty getProperty(String name)
ConfigurationProperty
by name.name
- the unique name of the property.ConfigurationProperty
if it exists otherwise null.void setPropertyValue(String name, Object value)
Configuration
property by name.name
- Name of the property to set the value against.value
- Value to set on the configuration property.IllegalArgumentException
- if the property name does not exist.Copyright © 2022. All rights reserved.