Interface DelegateFactoryDelegate



  • public interface DelegateFactoryDelegate
    This class is internally used by the DelegateFactory to create delegate instances. You usually don't want to interact with this object.
    • Method Detail

      • createDiscordApiBuilderDelegate

        DiscordApiBuilderDelegate createDiscordApiBuilderDelegate​()
        Creates a new discord api builder delegate.
        Returns:
        A new discord api builder delegate.
      • createEmbedBuilderDelegate

        EmbedBuilderDelegate createEmbedBuilderDelegate​()
        Creates a new embed builder delegate.
        Returns:
        A new embed builder delegate.
      • createMessageBuilderDelegate

        MessageBuilderDelegate createMessageBuilderDelegate​()
        Creates a new message builder delegate.
        Returns:
        A new message builder delegate.
      • createPermissionsBuilderDelegate

        PermissionsBuilderDelegate createPermissionsBuilderDelegate​()
        Creates a new permissions builder delegate.
        Returns:
        A new permissions builder delegate.
      • createPermissionsBuilderDelegate

        PermissionsBuilderDelegate createPermissionsBuilderDelegate​(Permissions permissions)
        Creates a new permissions builder delegate initialized with the given permissions.
        Parameters:
        permissions - The permissions which should be copied.
        Returns:
        A new permissions builder delegate initialized with the given permissions.
      • createChannelCategoryBuilderDelegate

        ChannelCategoryBuilderDelegate createChannelCategoryBuilderDelegate​(Server server)
        Creates a new channel category builder delegate.
        Parameters:
        server - The server of the channel category.
        Returns:
        A new channel category builder delegate.
      • createServerTextChannelBuilderDelegate

        ServerTextChannelBuilderDelegate createServerTextChannelBuilderDelegate​(Server server)
        Creates a new server text channel builder delegate.
        Parameters:
        server - The server of the server text channel.
        Returns:
        A new server text channel builder delegate.
      • createServerVoiceChannelBuilderDelegate

        ServerVoiceChannelBuilderDelegate createServerVoiceChannelBuilderDelegate​(Server server)
        Creates a new server voice channel builder delegate.
        Parameters:
        server - The server of the server voice channel.
        Returns:
        A new server voice channel builder delegate.
      • createCustomEmojiBuilderDelegate

        CustomEmojiBuilderDelegate createCustomEmojiBuilderDelegate​(Server server)
        Creates a new custom emoji builder delegate.
        Parameters:
        server - The server of the custom emoji.
        Returns:
        A new custom emoji builder delegate.
      • createWebhookBuilderDelegate

        WebhookBuilderDelegate createWebhookBuilderDelegate​(ServerTextChannel channel)
        Creates a new webhook builder delegate.
        Parameters:
        channel - The server text channel of the webhook.
        Returns:
        A new webhook builder delegate.
      • createServerBuilderDelegate

        ServerBuilderDelegate createServerBuilderDelegate​(DiscordApi api)
        Creates a new server builder delegate.
        Parameters:
        api - The discord api instance.
        Returns:
        A new server builder delegate.
      • createRoleBuilderDelegate

        RoleBuilderDelegate createRoleBuilderDelegate​(Server server)
        Creates a new role builder delegate.
        Parameters:
        server - The server for which the role should be created.
        Returns:
        A new role builder delegate.
      • createInviteBuilderDelegate

        InviteBuilderDelegate createInviteBuilderDelegate​(ServerChannel channel)
        Creates a new invite builder delegate.
        Parameters:
        channel - The channel for the invite.
        Returns:
        A new invite builder delegate.
      • createAccountUpdaterDelegate

        AccountUpdaterDelegate createAccountUpdaterDelegate​(DiscordApi api)
        Creates a new account updater delegate.
        Parameters:
        api - The discord api instance.
        Returns:
        A new account updater delegate.
      • createGroupChannelUpdaterDelegate

        GroupChannelUpdaterDelegate createGroupChannelUpdaterDelegate​(GroupChannel channel)
        Creates a new group channel updater delegate.
        Parameters:
        channel - The channel to update.
        Returns:
        A new group channel updater delegate.
      • createServerChannelUpdaterDelegate

        ServerChannelUpdaterDelegate createServerChannelUpdaterDelegate​(ServerChannel channel)
        Creates a new server channel updater delegate.
        Parameters:
        channel - The channel to update.
        Returns:
        A new server channel updater delegate.
      • createServerTextChannelUpdaterDelegate

        ServerTextChannelUpdaterDelegate createServerTextChannelUpdaterDelegate​(ServerTextChannel channel)
        Creates a new server text channel updater delegate.
        Parameters:
        channel - The channel to update.
        Returns:
        A new server text channel updater delegate.
      • createServerVoiceChannelUpdaterDelegate

        ServerVoiceChannelUpdaterDelegate createServerVoiceChannelUpdaterDelegate​(ServerVoiceChannel channel)
        Creates a new server voice channel updater delegate.
        Parameters:
        channel - The channel to update.
        Returns:
        A new server voice channel updater delegate.
      • createCustomEmojiUpdaterDelegate

        CustomEmojiUpdaterDelegate createCustomEmojiUpdaterDelegate​(KnownCustomEmoji emoji)
        Creates a new custom emoji updater delegate.
        Parameters:
        emoji - The custom emoji to update.
        Returns:
        A new custom emoji updater delegate.
      • createRoleUpdaterDelegate

        RoleUpdaterDelegate createRoleUpdaterDelegate​(Role role)
        Creates a new role updater delegate.
        Parameters:
        role - The role to update.
        Returns:
        A new role updater delegate.
      • createServerUpdaterDelegate

        ServerUpdaterDelegate createServerUpdaterDelegate​(Server server)
        Creates a new server updater delegate.
        Parameters:
        server - The server to update.
        Returns:
        A new server updater delegate.
      • createWebhookUpdaterDelegate

        WebhookUpdaterDelegate createWebhookUpdaterDelegate​(Webhook webhook)
        Creates a new webhook updater delegate.
        Parameters:
        webhook - The webhook to update.
        Returns:
        A new webhook updater delegate.
      • createExceptionLoggerDelegate

        ExceptionLoggerDelegate createExceptionLoggerDelegate​()
        Creates a new exception logger delegate.
        Returns:
        A new exception logger delegate.
      • createDiscordExceptionValidator

        DiscordExceptionValidator createDiscordExceptionValidator​()
        Creates a new discord exception validator.
        Returns:
        A new discord exception validator.