org.apache.qpid.server.security.access
Class ObjectProperties
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<ObjectProperties.Property,String>
org.apache.qpid.server.security.access.ObjectProperties
- All Implemented Interfaces:
- Serializable, Cloneable, Map<ObjectProperties.Property,String>
public class ObjectProperties
- extends HashMap<ObjectProperties.Property,String>
An set of properties for an access control v2 rule ObjectType
.
The matches(ObjectProperties)
method is intended to be used when determining precedence of rules, and
AbstractMap.equals(Object)
and AbstractMap.hashCode()
are intended for use in maps. This is due to the wildcard matching
described above.
- See Also:
- Serialized Form
Constructor Summary |
ObjectProperties()
|
ObjectProperties(AMQQueue queue)
|
ObjectProperties(org.apache.qpid.framing.AMQShortString name)
|
ObjectProperties(Boolean autoDelete,
Boolean durable,
org.apache.qpid.framing.AMQShortString exchangeName,
Boolean internal,
Boolean nowait,
Boolean passive,
org.apache.qpid.framing.AMQShortString exchangeType)
|
ObjectProperties(Boolean exclusive,
Boolean noAck,
Boolean noLocal,
Boolean nowait,
AMQQueue queue)
|
ObjectProperties(Boolean autoDelete,
Boolean durable,
Boolean exclusive,
Boolean nowait,
Boolean passive,
org.apache.qpid.framing.AMQShortString queueName,
String owner)
|
ObjectProperties(Exchange exch,
AMQQueue queue,
org.apache.qpid.framing.AMQShortString routingKey)
|
ObjectProperties(Exchange exch,
org.apache.qpid.framing.AMQShortString routingKey)
|
ObjectProperties(ObjectProperties copy)
|
ObjectProperties(String name)
|
ObjectProperties(String exchangeName,
String routingKey)
|
ObjectProperties(String exchangeName,
String routingKey,
Boolean immediate)
|
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values |
STAR
public static final String STAR
- See Also:
- Constant Field Values
EMPTY
public static final ObjectProperties EMPTY
ObjectProperties
public ObjectProperties()
ObjectProperties
public ObjectProperties(ObjectProperties copy)
ObjectProperties
public ObjectProperties(String name)
ObjectProperties
public ObjectProperties(org.apache.qpid.framing.AMQShortString name)
ObjectProperties
public ObjectProperties(AMQQueue queue)
ObjectProperties
public ObjectProperties(Exchange exch,
AMQQueue queue,
org.apache.qpid.framing.AMQShortString routingKey)
ObjectProperties
public ObjectProperties(Exchange exch,
org.apache.qpid.framing.AMQShortString routingKey)
ObjectProperties
public ObjectProperties(String exchangeName,
String routingKey,
Boolean immediate)
ObjectProperties
public ObjectProperties(String exchangeName,
String routingKey)
ObjectProperties
public ObjectProperties(Boolean autoDelete,
Boolean durable,
org.apache.qpid.framing.AMQShortString exchangeName,
Boolean internal,
Boolean nowait,
Boolean passive,
org.apache.qpid.framing.AMQShortString exchangeType)
ObjectProperties
public ObjectProperties(Boolean autoDelete,
Boolean durable,
Boolean exclusive,
Boolean nowait,
Boolean passive,
org.apache.qpid.framing.AMQShortString queueName,
String owner)
ObjectProperties
public ObjectProperties(Boolean exclusive,
Boolean noAck,
Boolean noLocal,
Boolean nowait,
AMQQueue queue)
getAllPropertyNames
public static List<String> getAllPropertyNames()
getPropertyNames
public List<String> getPropertyNames()
isSet
public Boolean isSet(ObjectProperties.Property key)
getName
public String getName()
setName
public void setName(String name)
setName
public void setName(org.apache.qpid.framing.AMQShortString name)
put
public String put(ObjectProperties.Property key,
org.apache.qpid.framing.AMQShortString value)
put
public String put(ObjectProperties.Property key,
String value)
- Specified by:
put
in interface Map<ObjectProperties.Property,String>
- Overrides:
put
in class HashMap<ObjectProperties.Property,String>
put
public void put(ObjectProperties.Property key,
Boolean value)
matches
public boolean matches(ObjectProperties properties)
Licensed to the Apache Software Foundation