public final class ConfigurationPropertyNameAliases extends Object implements Iterable<ConfigurationPropertyName>
ConfigurationPropertyName
aliases.ConfigurationPropertySource.withAliases(ConfigurationPropertyNameAliases)
Constructor and Description |
---|
ConfigurationPropertyNameAliases() |
ConfigurationPropertyNameAliases(ConfigurationPropertyName name,
ConfigurationPropertyName... aliases) |
ConfigurationPropertyNameAliases(String name,
String... aliases) |
Modifier and Type | Method and Description |
---|---|
void |
addAliases(ConfigurationPropertyName name,
ConfigurationPropertyName... aliases) |
void |
addAliases(String name,
String... aliases) |
List<ConfigurationPropertyName> |
getAliases(ConfigurationPropertyName name) |
ConfigurationPropertyName |
getNameForAlias(ConfigurationPropertyName alias) |
Iterator<ConfigurationPropertyName> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ConfigurationPropertyNameAliases()
public ConfigurationPropertyNameAliases(String name, String... aliases)
public ConfigurationPropertyNameAliases(ConfigurationPropertyName name, ConfigurationPropertyName... aliases)
public void addAliases(ConfigurationPropertyName name, ConfigurationPropertyName... aliases)
public List<ConfigurationPropertyName> getAliases(ConfigurationPropertyName name)
public ConfigurationPropertyName getNameForAlias(ConfigurationPropertyName alias)
public Iterator<ConfigurationPropertyName> iterator()
iterator
in interface Iterable<ConfigurationPropertyName>
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.