Interface ConversationHolder
-
- All Known Implementing Classes:
ConversationHolderImpl
public interface ConversationHolder
The 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 Conversation
getConversation()
Returns the underlying conversation this holder is built with.boolean
isNewConversation()
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:
true
for a newly created conversation,false
otherwise
-
-