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 |
getAvatarRendererKey()
Returns the AvatarRenderer Key
|
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 |
setAvatarRendererKey(String strAvatarRendererKey)
Sets the AvatarRenderer
|
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, waitprocessUserMessagepublic String getKey()
public void setKey(String strKey)
strKey - The Keypublic void setName(String strName)
strName - The Namepublic String getDescription(Locale locale)
getDescription in interface ChatBotlocale - 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 ChatBotpublic void setAvatarUrl(String strBotAvatarUrl)
strBotAvatarUrl - The BotAvatarUrlpublic void setListAvailableLanguages(List<String> listAvailableLanguages)
listAvailableLanguages - available languages listpublic List<String> getAvailableLanguages()
getAvailableLanguages in interface ChatBotpublic boolean isStandalone()
isStandalone in interface ChatBotpublic void setStandalone(boolean bStandalone)
bStandalone - The Standalonepublic String getWelcomeMessage()
getWelcomeMessage in interface ChatBotpublic void setWelcomeMessage(String strWelcomeMessage)
strWelcomeMessage - The WelcomeMessagepublic String getAvatarRendererKey()
getAvatarRendererKey in interface ChatBotpublic void setAvatarRendererKey(String strAvatarRendererKey)
strAvatarRendererKey - The AvatarRenderer KeyCopyright © 2019 City of Paris. All rights reserved.