protected static final class Mapper.MappedHost extends Mapper.MapElement<Host>
Modifier and Type | Field and Description |
---|---|
Mapper.ContextList |
contextList |
name, object
Constructor and Description |
---|
Mapper.MappedHost(java.lang.String name,
Host host)
Constructor used for the primary Host
|
Mapper.MappedHost(java.lang.String alias,
Mapper.MappedHost realHost)
Constructor used for an Alias
|
Modifier and Type | Method and Description |
---|---|
void |
addAlias(Mapper.MappedHost alias) |
void |
addAliases(java.util.Collection<? extends Mapper.MappedHost> c) |
java.util.Collection<Mapper.MappedHost> |
getAliases() |
Mapper.MappedHost |
getRealHost() |
java.lang.String |
getRealHostName() |
boolean |
isAlias() |
void |
removeAlias(Mapper.MappedHost alias) |
public volatile Mapper.ContextList contextList
public Mapper.MappedHost(java.lang.String name, Host host)
public Mapper.MappedHost(java.lang.String alias, Mapper.MappedHost realHost)
public boolean isAlias()
public Mapper.MappedHost getRealHost()
public java.lang.String getRealHostName()
public java.util.Collection<Mapper.MappedHost> getAliases()
public void addAlias(Mapper.MappedHost alias)
public void addAliases(java.util.Collection<? extends Mapper.MappedHost> c)
public void removeAlias(Mapper.MappedHost alias)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.