Interface CommandPermission

    • Method Detail

      • toString

        String toString()
        Get a string representation of the permission
        Overrides:
        toString in class Object
        Returns:
        String representation of the permission node
      • or

        default CommandPermission or​(CommandPermission other)
        Return a permission that matches either this permission or the other permission.
        Parameters:
        other - the other permission to test
        Returns:
        a new or permission
        Since:
        1.4.0
      • or

        default CommandPermission or​(CommandPermission... other)
        Return a permission that matches either this permission or any of the other permissions.
        Parameters:
        other - the other permission to test
        Returns:
        a new or permission
        Since:
        1.4.0
      • and

        default CommandPermission and​(CommandPermission other)
        Return a permission that matches this permission and the other permission.
        Parameters:
        other - the other permission to test
        Returns:
        a new and permission
        Since:
        1.4.0
      • and

        default CommandPermission and​(CommandPermission... other)
        Return a permission that matches this permission and all of the other permissions.
        Parameters:
        other - the other permission to test
        Returns:
        a new and permission
        Since:
        1.4.0