public class AddressInfo extends Object
Constructor and Description |
---|
AddressInfo(SimpleString name) |
AddressInfo(SimpleString name,
EnumSet<RoutingType> routingTypes)
Creates an AddressInfo object with a Set of routing types
|
AddressInfo(SimpleString name,
RoutingType routingType)
Creates an AddressInfo object with a single RoutingType associated with it.
|
Modifier and Type | Method and Description |
---|---|
AddressInfo |
addRoutingType(RoutingType routingType) |
AddressInfo |
create(SimpleString name,
RoutingType routingType) |
AddressInfo |
getAddressAndRoutingType(Map<SimpleString,RoutingType> prefixes) |
long |
getId() |
SimpleString |
getName() |
RoutingType |
getRoutingType() |
EnumSet<RoutingType> |
getRoutingTypes() |
boolean |
isAutoCreated() |
boolean |
isInternal() |
AddressInfo |
setAutoCreated(boolean autoCreated) |
void |
setId(long id) |
void |
setInternal(boolean internal) |
AddressInfo |
setRoutingTypes(EnumSet<RoutingType> routingTypes) |
String |
toString() |
public AddressInfo(SimpleString name)
public AddressInfo(SimpleString name, EnumSet<RoutingType> routingTypes)
name
- routingTypes
- public AddressInfo(SimpleString name, RoutingType routingType)
name
- routingType
- public boolean isAutoCreated()
public AddressInfo setAutoCreated(boolean autoCreated)
public SimpleString getName()
public void setId(long id)
public long getId()
public EnumSet<RoutingType> getRoutingTypes()
public AddressInfo setRoutingTypes(EnumSet<RoutingType> routingTypes)
public AddressInfo addRoutingType(RoutingType routingType)
public RoutingType getRoutingType()
public boolean isInternal()
public void setInternal(boolean internal)
public AddressInfo create(SimpleString name, RoutingType routingType)
public AddressInfo getAddressAndRoutingType(Map<SimpleString,RoutingType> prefixes)
Copyright © 2018 JBoss by Red Hat. All rights reserved.