public class Bot extends Object implements Serializable
| Constructor and Description |
|---|
Bot() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAvailableLanguages()
Return available languages list
|
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
|
List<ResponseFilter> |
getResponseFilters()
The list of response filters
|
org.easyrules.api.RulesEngine |
getRulesEngine()
Returns the RulesEngine
|
String |
processData(javax.servlet.http.HttpServletRequest request,
Map<String,String> mapData,
Locale locale)
Last bot post build with data collected.
|
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 |
setListResponseFilters(List<ResponseFilter> list)
Set the list of response filters
|
void |
setName(String strName)
Sets the Name
|
void |
setNameI18nKey(String strNameI18nKey)
Sets the NameI18nKey
|
void |
setRulesEngine(org.easyrules.api.RulesEngine rulesEngine)
Sets the RulesEngine
|
public String getKey()
public void setKey(String strKey)
strKey - The Keypublic String getName(Locale locale)
locale - The localepublic void setName(String strName)
strName - The Namepublic String getDescription(Locale locale)
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()
public void setAvatarUrl(String strBotAvatarUrl)
strBotAvatarUrl - The BotAvatarUrlpublic org.easyrules.api.RulesEngine getRulesEngine()
public void setRulesEngine(org.easyrules.api.RulesEngine rulesEngine)
rulesEngine - The RulesEnginepublic void setListResponseFilters(List<ResponseFilter> list)
list - The listpublic List<ResponseFilter> getResponseFilters()
public void setListAvailableLanguages(List<String> listAvailableLanguages)
listAvailableLanguages - available languages listpublic List<String> getAvailableLanguages()
public String processData(javax.servlet.http.HttpServletRequest request, Map<String,String> mapData, Locale locale)
request - The HTTP requestmapData - The datalocale - The localeCopyright © 2016 City of Paris. All rights reserved.