public class ObjectProperties extends Object
ObjectType
.
The matches(ObjectProperties)
method is intended to be used when determining precedence of rules, and
equals(Object)
and hashCode()
are intended for use in maps. This is due to the wildcard matching
described above.Modifier and Type | Class and Description |
---|---|
static class |
ObjectProperties.Property |
Modifier and Type | Field and Description |
---|---|
static ObjectProperties |
EMPTY |
static String |
WILD_CARD |
Constructor and Description |
---|
ObjectProperties() |
ObjectProperties(ObjectProperties.Property property,
String value) |
ObjectProperties(ObjectProperties copy) |
ObjectProperties(String name) |
ObjectProperties(String virtualHostName,
String exchangeName,
String routingKey,
Boolean immediate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
get(ObjectProperties.Property key) |
static List<String> |
getAllPropertyNames() |
String |
getName() |
int |
hashCode() |
boolean |
isEmpty() |
Boolean |
isSet(ObjectProperties.Property key) |
boolean |
matches(ObjectProperties properties) |
void |
put(ObjectProperties.Property key,
Boolean value) |
String |
put(ObjectProperties.Property key,
String value) |
void |
setName(String name) |
String |
toString() |
public static final String WILD_CARD
public static final ObjectProperties EMPTY
public ObjectProperties()
public ObjectProperties(ObjectProperties.Property property, String value)
public ObjectProperties(ObjectProperties copy)
public ObjectProperties(String name)
public Boolean isSet(ObjectProperties.Property key)
public String get(ObjectProperties.Property key)
public String getName()
public void setName(String name)
public String put(ObjectProperties.Property key, String value)
public void put(ObjectProperties.Property key, Boolean value)
public boolean matches(ObjectProperties properties)
public boolean isEmpty()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.