Module gomint.api

Interface Group


  • public interface Group
    Version:
    1.0
    Author:
    geNAZt
    • Method Detail

      • getName

        String getName()
        Get the name of this group
        Returns:
        name of this group
      • setPermission

        void setPermission​(String permission,
                           boolean value)
        Set a permission for this group. For further documentation on how permissions are checked see PermissionManager.hasPermission(String).
        Parameters:
        permission - which should be set
        value - of this permission, true when granted, false when revoked
      • removePermission

        void removePermission​(String permission)
        Remove a permission completely
        Parameters:
        permission - which should be removed
      • cursor

        it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.objects.Object2BooleanMap.Entry<String>> cursor()
        Get a iterator for all configured permissions
        Returns:
        new iterator for this group