public class ObjectProperties extends Object
ObjectType.
The propertiesMatch(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 |
| Constructor and Description |
|---|
ObjectProperties() |
ObjectProperties(ObjectProperties.Property property,
String value) |
ObjectProperties(ObjectProperties copy) |
ObjectProperties(String name) |
ObjectProperties(String virtualHostName,
String exchangeName,
String routingKey) |
| Modifier and Type | Method and Description |
|---|---|
Map<ObjectProperties.Property,String> |
asPropertyMap() |
boolean |
equals(Object o) |
String |
get(ObjectProperties.Property key) |
String |
getName() |
int |
hashCode() |
boolean |
isEmpty() |
Boolean |
isSet(ObjectProperties.Property key) |
void |
put(ObjectProperties.Property key,
Boolean value) |
String |
put(ObjectProperties.Property key,
String value) |
void |
setName(String name) |
String |
toString() |
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 isEmpty()
public Map<ObjectProperties.Property,String> asPropertyMap()
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.