Interface ConversationHolder
-
- All Known Implementing Classes:
ConversationHolderImpl
public interface ConversationHolderThe conversation holder might be used to hold a conversation and additional information like if it was a newly created one or an existing one.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConversationgetConversation()Returns the underlying conversation this holder is built with.booleanisNewConversation()If this conversation was newly created, this method returnstrue, for an existing one, it will returnfalse.
-
-
-
Method Detail
-
getConversation
Conversation getConversation()
Returns the underlying conversation this holder is built with.- Returns:
- the conversation object
-
isNewConversation
boolean isNewConversation()
If this conversation was newly created, this method returnstrue, for an existing one, it will returnfalse.- Returns:
truefor a newly created conversation,falseotherwise
-
-