|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of data in the messages. Currently the only supported one is java.lang.String.public interface MessageAggregator<T>
This is the template interface for all message aggregators. Messages are appended with a separator between them.
Method Summary | |
---|---|
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. |
Method Detail |
---|
int addMessage(T message)
message
- the message to add.
T getAggregatedMessage()
boolean isAppendAtTheEnd()
appendAtTheEnd
property.
appendAtTheEnd
property.int getMessageCount()
T getSeparator()
separator
property.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |