Interface ServerChannelUpdaterDelegate

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setAuditLogReason​(java.lang.String reason)
      Sets the reason for this update.
      void setName​(java.lang.String name)
      Queues the name to be updated.
      java.util.concurrent.CompletableFuture<java.lang.Void> update()
      Performs the queued updates.
    • Method Detail

      • setAuditLogReason

        void setAuditLogReason​(java.lang.String reason)
        Sets the reason for this update. This reason will be visible in the audit log entry(s).
        Parameters:
        reason - The reason for this update.
      • setName

        void setName​(java.lang.String name)
        Queues the name to be updated.
        Parameters:
        name - The new name of the channel.
      • update

        java.util.concurrent.CompletableFuture<java.lang.Void> update()
        Performs the queued updates.
        Returns:
        A future to check if the update was successful.