Interface ConfigurationProperties
public interface ConfigurationProperties
Encapsulates the
Configuration at the SPI layer
and
uses reflection to identify the individual properties
that are available for an application to manipulate.-
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String name) Get a particularConfigurationProperty
by name.Get the list of properties names for thisConfiguration
.getPropertyNames
(ConfigurationFilter configFilter) Get the filtered list of properties names for thisConfiguration
.void
setPropertyValue
(String name, Object value) Set the value of theConfiguration
property by name.
-
Method Details
-
getPropertyNames
Get the list of properties names for thisConfiguration
.- Returns:
- a list containing the names of properties that an application can configure for a connector.
-
getPropertyNames
Get the filtered list of properties names for thisConfiguration
.- Parameters:
configFilter
-- Returns:
- a list containing the names of properties that an application can configure for a connector.
-
getProperty
Get a particularConfigurationProperty
by name.- Parameters:
name
- the unique name of the property.- Returns:
- a
ConfigurationProperty
if it exists otherwise null.
-
setPropertyValue
Set the value of theConfiguration
property by name.- Parameters:
name
- Name of the property to set the value against.value
- Value to set on the configuration property.- Throws:
IllegalArgumentException
- iff the property name does not exist.
-