public class BotRegistrationService extends Object
Modifier and Type | Method and Description |
---|---|
static fr.paris.lutece.util.ReferenceList |
getBotsStatusList(Locale locale)
Returns the list of available bot status
|
static fr.paris.lutece.util.ReferenceList |
getModes(Locale locale)
Return the list of mode
|
static void |
register(BotInstance botInstance,
int nStatus)
Register the bot
|
static void |
registerAllBots()
Register all bots
|
static void |
unregister(String strBotKey)
Un register the bot
|
public static void registerAllBots()
public static fr.paris.lutece.util.ReferenceList getBotsStatusList(Locale locale)
locale
- The localepublic static void register(BotInstance botInstance, int nStatus)
botInstance
- The bot instancenStatus
- The statuspublic static void unregister(String strBotKey)
strBotKey
- The bot keypublic static fr.paris.lutece.util.ReferenceList getModes(Locale locale)
locale
- The locale to translate modeCopyright © 2020 City of Paris. All rights reserved.