public class ACLEntry
extends java.lang.Object
Constructor and Description |
---|
ACLEntry(DestinationInfo destination,
PrincipalInfo principal,
Permissions permissions)
Constructor used to create ACLEntries that will be passed to
TibjmsAdmin.grant() and TibjmsAdmin.revoke() methods.
|
Modifier and Type | Method and Description |
---|---|
DestinationInfo |
getDestination()
Get the destination that this entry applies to.
|
Permissions |
getPermissions()
Get the permissions for this entry.
|
PrincipalInfo |
getPrincipal()
Get the principal that this entry applies to.
|
void |
setDestination(DestinationInfo destination)
Set the destination that this entry applies to.
|
void |
setPermissions(Permissions permissions)
Set the permissions for this entry.
|
void |
setPrincipalName(PrincipalInfo principal)
Set the principal that this entry applies to.
|
java.lang.String |
toString()
Generate a string representation of this ACLEntry.
|
public ACLEntry(DestinationInfo destination, PrincipalInfo principal, Permissions permissions)
destination
- the destination the permissions apply to.principal
- the principal that has the permissions.permissions
- the permissions for this entry.public DestinationInfo getDestination()
public void setDestination(DestinationInfo destination)
destination
- The DestinationInfo that this ACLEntry will apply to.public PrincipalInfo getPrincipal()
public void setPrincipalName(PrincipalInfo principal)
principal
- the PrincipalInfo that this ACLEntry will apply to.public Permissions getPermissions()
public void setPermissions(Permissions permissions)
permissions
- the permissions for this entry.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © Cloud Software Group, Inc. All rights reserved