public interface MutableAce extends Ace
Modifier and Type | Method and Description |
---|---|
void |
setDirect(boolean direct)
Sets whether this ACE is a direct ACE or not.
|
void |
setPermissions(List<String> permissions)
Sets the permissions granted to the principal.
|
void |
setPrincipal(Principal principal)
Sets the ACE principal.
|
getPermissions, getPrincipal, getPrincipalId, isDirect
getExtensions, setExtensions
void setPrincipal(Principal principal)
principal
- the principalvoid setPermissions(List<String> permissions)
permissions
- the list of permissionvoid setDirect(boolean direct)
direct
- true
if the ACE is a direct ACE, false
otherwiseCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.