public class ConfigurationPropertiesImpl extends Object implements ConfigurationProperties
Constructor and Description |
---|
ConfigurationPropertiesImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
APIConfigurationImpl |
getParent() |
Collection<ConfigurationPropertyImpl> |
getProperties() |
ConfigurationProperty |
getProperty(String name)
Get a particular
ConfigurationProperty by name. |
List<String> |
getPropertyNames()
Get the list of properties names for this
Configuration . |
int |
hashCode() |
void |
setParent(APIConfigurationImpl parent) |
void |
setProperties(Collection<ConfigurationPropertyImpl> in) |
void |
setPropertyValue(String name,
Object value)
Set the value of the
Configuration property by name. |
public APIConfigurationImpl getParent()
public void setParent(APIConfigurationImpl parent)
public void setProperties(Collection<ConfigurationPropertyImpl> in)
public Collection<ConfigurationPropertyImpl> getProperties()
public ConfigurationProperty getProperty(String name)
ConfigurationProperty
by name.getProperty
in interface ConfigurationProperties
name
- the unique name of the property.ConfigurationProperty
if it exists otherwise null.public List<String> getPropertyNames()
Configuration
.getPropertyNames
in interface ConfigurationProperties
public void setPropertyValue(String name, Object value)
Configuration
property by name.setPropertyValue
in interface ConfigurationProperties
name
- Name of the property to set the value against.value
- Value to set on the configuration property.Copyright © 2022. All rights reserved.