Class PermissionsBuilder



  • public class PermissionsBuilder
    extends Object
    A class to create permissions objects.
    • Constructor Detail

      • PermissionsBuilder

        public PermissionsBuilder​()
        Creates a new permissions builder with all types set to PermissionState.UNSET.
      • PermissionsBuilder

        public PermissionsBuilder​(Permissions permissions)
        Creates a new permissions builder with the states of the given permissions object.
        Parameters:
        permissions - The permissions which should be copied.