T
- the type of data in the messages. Currently the only supported one is java.lang.String.public interface MessageAggregator<T>
Modifier and Type | Method and Description |
---|---|
int |
addMessage(T message)
Appends the separator and the message to the list.
|
T |
getAggregatedMessage()
Get the whole aggregated message.
|
int |
getMessageCount()
Getter for the message count.
|
T |
getSeparator()
Getter for the
separator property. |
boolean |
isAppendAtTheEnd()
Getter for the
appendAtTheEnd property. |
int addMessage(T message)
message
- the message to add.T getAggregatedMessage()
boolean isAppendAtTheEnd()
appendAtTheEnd
property.appendAtTheEnd
property.int getMessageCount()
T getSeparator()
separator
property.