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
Modifier and TypeMethodDescriptionReturns the underlying conversation this holder is built with.boolean
If this conversation was newly created, this method returnstrue
, for an existing one, it will returnfalse
.
-
Method Details
-
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
-