public class RoleInfo extends java.lang.Object
AddressControl.getRolesAsJSON().| Modifier and Type | Method and Description |
|---|---|
static RoleInfo[] |
from(java.lang.String jsonString)
Returns an array of RoleInfo corresponding to the JSON serialization returned
by
AddressControl.getRolesAsJSON(). |
java.lang.String |
getName()
Returns the name of the role.
|
boolean |
isConsume()
Returns whether this role can consume messages from queues bound to the address.
|
boolean |
isCreateDurableQueue()
Returns whether this role can create durable queues bound to the address.
|
boolean |
isCreateNonDurableQueue()
Returns whether this role can create non-durable queues bound to the address.
|
boolean |
isDeleteDurableQueue()
Returns whether this role can delete durable queues bound to the address.
|
boolean |
isDeleteNonDurableQueue()
Returns whether this role can delete non-durable queues bound to the address.
|
boolean |
isManage()
Returns whether this role can send management messages to the address.
|
boolean |
isSend()
Returns whether this role can send messages to the address.
|
public static final RoleInfo[] from(java.lang.String jsonString) throws java.lang.Exception
AddressControl.getRolesAsJSON().java.lang.Exceptionpublic java.lang.String getName()
public boolean isSend()
public boolean isConsume()
public boolean isCreateDurableQueue()
public boolean isDeleteDurableQueue()
public boolean isCreateNonDurableQueue()
public boolean isDeleteNonDurableQueue()
public boolean isManage()
Copyright © 2009 Red Hat Inc. All Rights Reserved.