com.vaadin.collaborationengine.
Interface CollaborationMessageList.MessageConfigurator
-
Enclosing class:
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 theMessageListItem
objects after the component has generated them, before sending those to the user's browser.
-
-
Method Summary
All Methods Modifier and Type Method Description void
configureMessage​(MessageListItem message, UserInfo user)
Configures the provided message after the
CollaborationMessageList
has generated it.
-
-
-
Method Detail
-
configureMessage
void configureMessage​(MessageListItem message, UserInfo user)
Configures the provided message after the
CollaborationMessageList
has generated it. The configuration should be done by mutating themessage
parameter.Parameters:
message
- the message to configureuser
- the sender of the message
-
-