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(String name) |
List<Permission> |
buildFromNames(List<String> names) |
Permission buildFromMask(int mask)
CumulativePermission
or BasePermission
representing the
active bits in the passed mask.mask
- to buildPermission buildFromName(String name)
List<Permission> buildFromNames(List<String> names)