Class ConfigurationPropertyNameAliases
java.lang.Object
org.springframework.boot.context.properties.source.ConfigurationPropertyNameAliases
- All Implemented Interfaces:
Iterable<ConfigurationPropertyName>
public final class ConfigurationPropertyNameAliases
extends Object
implements Iterable<ConfigurationPropertyName>
Maintains a mapping of
ConfigurationPropertyName
aliases.- Since:
- 2.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionConfigurationPropertyNameAliases
(String name, String... aliases) ConfigurationPropertyNameAliases
(ConfigurationPropertyName name, ConfigurationPropertyName... aliases) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAliases
(String name, String... aliases) void
addAliases
(ConfigurationPropertyName name, ConfigurationPropertyName... aliases) iterator()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ConfigurationPropertyNameAliases
public ConfigurationPropertyNameAliases() -
ConfigurationPropertyNameAliases
-
ConfigurationPropertyNameAliases
public ConfigurationPropertyNameAliases(ConfigurationPropertyName name, ConfigurationPropertyName... aliases)
-
-
Method Details
-
addAliases
-
addAliases
-
getAliases
-
getNameForAlias
-
iterator
- Specified by:
iterator
in interfaceIterable<ConfigurationPropertyName>
-