public interface ConversationFilter
getParameters()
method are injected into the template.*
Secondly, the latest messages are fetched, using the conversationIds from previous query.
- When a new message is sent, all conversation filters are tested if the message is part of the filter.
This allows for example in a UI to indicate visually where a new message has come into, as a message can belong to multiple filters.
Note that the second bit of logic mimics the filtering done in the Elasticsearch query templates, but is done in Java for performance reasons.Modifier and Type | Method and Description |
---|---|
String |
getDefaultLabel() |
String |
getKey() |
String |
getLabelKey() |
Map<String,Object> |
getParameters() |
freemarker.template.Template |
getTemplate() |
boolean |
isDefault() |
boolean |
matches(Conversation conversation) |
Copyright © 2019. All rights reserved.