Package 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 aCollaborationMessageList
. 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 Instance Methods Abstract Methods Modifier and Type Method Description void
configureMessage(MessageListItem message, UserInfo user)
Configures the provided message after theCollaborationMessageList
has generated it.
-
-
-
Method Detail
-
configureMessage
void configureMessage(MessageListItem message, UserInfo user)
Configures the provided message after theCollaborationMessageList
has generated it. The configuration should be done by mutating themessage
parameter.- Parameters:
message
- the message to configureuser
- the sender of the message
-
-