Interface ChannelNameFormatter

  • All Implemented Interfaces:

    
    public interface ChannelNameFormatter
    
                        

    An interface that generates a name for the given channel.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract String formatChannelName(Channel channel, User currentUser) Generates a name for the given channel.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • formatChannelName

         abstract String formatChannelName(Channel channel, User currentUser)

        Generates a name for the given channel.

        Parameters:
        channel - The channel data used to generate the name.
        currentUser - The currently logged in user.
        Returns:

        The display name for the given channel.