Package org.vrspace.server.config
Class BotConfig
- java.lang.Object
-
- org.vrspace.server.config.BotConfig
-
@Configuration @ConfigurationProperties("org.vrspace.server") public class BotConfig extends Object
BotConfig contains map of BotProperties, with bot name as key. Property names have the following structure: org.vrspace.server.bot.BOTNAME.PROPERTY. Available properties are: name, type, url, world, mesh, position, rotation, scale, params. Properties name, mesh, position, rotation and scale are parameters of bot's avatar. Properties type and url define implementation class (so far only BotLibre) and REST endpoint to call. Property params are custom key-value pairs specific to one bot instance, e.g. application and instance for BotLibre. Used by BotManager.- Author:
- joe
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BotConfig.BotProperties
-
Constructor Summary
Constructors Constructor Description BotConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Map<String,BotConfig.BotProperties>
getBot()
int
hashCode()
void
setBot(Map<String,BotConfig.BotProperties> bot)
String
toString()
-
-
-
Method Detail
-
getBot
public Map<String,BotConfig.BotProperties> getBot()
-
setBot
public void setBot(Map<String,BotConfig.BotProperties> bot)
-
canEqual
protected boolean canEqual(Object other)
-
-