com.vaadin.collaborationengine.

Interface CollaborationMessageList.MessageConfigurator

Enclosing class:

CollaborationMessageList

Functional Interface:

This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CollaborationMessageList.MessageConfigurator

Configurator callback for messages in a CollaborationMessageList. It can be used for customizing the properties of the MessageListItem objects after the component has generated them, before sending those to the user's browser.

See Also:

  • Method Details

    • configureMessage

      void configureMessage(MessageListItem message, UserInfo user)

      Configures the provided message after the CollaborationMessageList has generated it. The configuration should be done by mutating the message parameter.

      Parameters:

      message - the message to configure

      user - the sender of the message