|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hornetq.api.core.management.RoleInfo
public class RoleInfo

Helper class to create Java Objects from the
JSON serialization returned by AddressControl.getRolesAsJSON().
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final RoleInfo[] from(String jsonString)
throws Exception
AddressControl.getRolesAsJSON().
Exceptionpublic String getName()
public boolean isSend()
public boolean isConsume()
public boolean isCreateDurableQueue()
public boolean isDeleteDurableQueue()
public boolean isCreateNonDurableQueue()
public boolean isDeleteNonDurableQueue()
public boolean isManage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||