public abstract class AbstractChatBot extends Object implements ChatBot, Serializable
Constructor and Description |
---|
AbstractChatBot() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAvailableLanguages()
Returns available languages
|
String |
getAvatarUrl()
Returns the BotAvatarUrl
|
String |
getDescription(Locale locale)
Returns the Description
|
String |
getDescriptionI18nKey()
Returns the DescriptionI18nKey
|
String |
getKey()
Returns the Key
|
String |
getName(Locale locale)
Returns the Name
|
String |
getNameI18nKey()
Returns the NameI18nKey
|
String |
getWelcomeMessage()
Returns the WelcomeMessage
|
boolean |
isStandalone()
Is standalone (mode for iframe)
|
void |
reset(String strConversationId)
Reset the conversation
|
void |
setAvatarUrl(String strBotAvatarUrl)
Sets the BotAvatarUrl
|
void |
setDescription(String strDescription)
Sets the Description
|
void |
setDescriptionI18nKey(String strDescriptionI18nKey)
Sets the DescriptionI18nKey
|
void |
setKey(String strKey)
Sets the Key
|
void |
setListAvailableLanguages(List<String> listAvailableLanguages)
Set available languages list
|
void |
setName(String strName)
Sets the Name
|
void |
setNameI18nKey(String strNameI18nKey)
Sets the NameI18nKey
|
void |
setStandalone(boolean bStandalone)
Sets the Standalone
|
void |
setWelcomeMessage(String strWelcomeMessage)
Sets the WelcomeMessage
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processUserMessage
public String getKey()
public void setKey(String strKey)
strKey
- The Keypublic void setName(String strName)
strName
- The Namepublic String getDescription(Locale locale)
getDescription
in interface ChatBot
locale
- The localepublic void setDescription(String strDescription)
strDescription
- The Descriptionpublic String getNameI18nKey()
public void setNameI18nKey(String strNameI18nKey)
strNameI18nKey
- The NameI18nKeypublic String getDescriptionI18nKey()
public void setDescriptionI18nKey(String strDescriptionI18nKey)
strDescriptionI18nKey
- The DescriptionI18nKeypublic String getAvatarUrl()
getAvatarUrl
in interface ChatBot
public void setAvatarUrl(String strBotAvatarUrl)
strBotAvatarUrl
- The BotAvatarUrlpublic void setListAvailableLanguages(List<String> listAvailableLanguages)
listAvailableLanguages
- available languages listpublic List<String> getAvailableLanguages()
getAvailableLanguages
in interface ChatBot
public boolean isStandalone()
isStandalone
in interface ChatBot
public void setStandalone(boolean bStandalone)
bStandalone
- The Standalonepublic String getWelcomeMessage()
getWelcomeMessage
in interface ChatBot
public void setWelcomeMessage(String strWelcomeMessage)
strWelcomeMessage
- The WelcomeMessageCopyright © 2018 City of Paris. All rights reserved.