public interface PermissionFactory
Permission
instances from integer
masks.Modifier and Type | Method and Description |
---|---|
Permission |
buildFromMask(int mask)
Dynamically creates a
CumulativePermission or
BasePermission representing the active bits in the passed mask. |
Permission |
buildFromName(java.lang.String name) |
java.util.List<Permission> |
buildFromNames(java.util.List<java.lang.String> names) |
Permission buildFromMask(int mask)
CumulativePermission
or
BasePermission
representing the active bits in the passed mask.mask
- to buildPermission buildFromName(java.lang.String name)
java.util.List<Permission> buildFromNames(java.util.List<java.lang.String> names)