public final class RoleInfo extends Object
AddressControl.getRolesAsJSON()
.Modifier and Type | Method and Description |
---|---|
static RoleInfo[] |
from(String jsonString)
Returns an array of RoleInfo corresponding to the JSON serialization returned
by
AddressControl.getRolesAsJSON() . |
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 RoleInfo[] from(String jsonString) throws Exception
AddressControl.getRolesAsJSON()
.Exception
public String getName()
public boolean isSend()
public boolean isConsume()
public boolean isCreateDurableQueue()
public boolean isDeleteDurableQueue()
public boolean isCreateNonDurableQueue()
public boolean isDeleteNonDurableQueue()
public boolean isManage()
Copyright © 2018 JBoss by Red Hat. All rights reserved.