public final class ConfigurationPropertyNameAliases extends java.lang.Object implements java.lang.Iterable<ConfigurationPropertyName>
ConfigurationPropertyName
aliases.ConfigurationPropertySource.withAliases(ConfigurationPropertyNameAliases)
Constructor and Description |
---|
ConfigurationPropertyNameAliases() |
ConfigurationPropertyNameAliases(ConfigurationPropertyName name,
ConfigurationPropertyName... aliases) |
ConfigurationPropertyNameAliases(java.lang.String name,
java.lang.String... aliases) |
Modifier and Type | Method and Description |
---|---|
void |
addAliases(ConfigurationPropertyName name,
ConfigurationPropertyName... aliases) |
void |
addAliases(java.lang.String name,
java.lang.String... aliases) |
java.util.List<ConfigurationPropertyName> |
getAliases(ConfigurationPropertyName name) |
ConfigurationPropertyName |
getNameForAlias(ConfigurationPropertyName alias) |
java.util.Iterator<ConfigurationPropertyName> |
iterator() |
public ConfigurationPropertyNameAliases()
public ConfigurationPropertyNameAliases(java.lang.String name, java.lang.String... aliases)
public ConfigurationPropertyNameAliases(ConfigurationPropertyName name, ConfigurationPropertyName... aliases)
public void addAliases(java.lang.String name, java.lang.String... aliases)
public void addAliases(ConfigurationPropertyName name, ConfigurationPropertyName... aliases)
public java.util.List<ConfigurationPropertyName> getAliases(ConfigurationPropertyName name)
public ConfigurationPropertyName getNameForAlias(ConfigurationPropertyName alias)
public java.util.Iterator<ConfigurationPropertyName> iterator()
iterator
in interface java.lang.Iterable<ConfigurationPropertyName>