nl.tudelft.goal.unreal.messages
Class Configuration
java.lang.Object
nl.tudelft.goal.unreal.messages.Configuration
public class Configuration
- extends Object
Describes the configuration for the environment. This configuration is
provided through the init command.
- Author:
- M.P. Korstanje
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_LOG_LEVEL
public static final Level DEFAULT_LOG_LEVEL
DEFAULT_BOT_NAME
public static final String DEFAULT_BOT_NAME
- See Also:
- Constant Field Values
CONTROL_SERVER
public static final String CONTROL_SERVER
- See Also:
- Constant Field Values
BOT_SERVER
public static final String BOT_SERVER
- See Also:
- Constant Field Values
Configuration
public Configuration()
getBots
public List<BotParameters> getBots()
setBots
public void setBots(List<BotParameters> bots)
getVisualizer
public URI getVisualizer()
setVisualizer
public void setVisualizer(URI visualizer)
getBotServer
public URI getBotServer()
setBotServer
public void setBotServer(URI botServer)
getControlServer
public URI getControlServer()
setControlServer
public void setControlServer(URI controlServer)
setLogLevel
public Configuration setLogLevel(Level level)
getLogLevel
public Level getLogLevel()
getDefaultBotName
public String getDefaultBotName()
getBotServerPort
public int getBotServerPort()
- Returns:
- The port bot server, or -1 if the port is undefined
getBotServerHost
public String getBotServerHost()
- Returns:
- The host of the bot server, or null if the server is undefined
getDefaults
public static Configuration getDefaults()
assignDefaults
public void assignDefaults(Configuration configuration)
getBotControllerClass
public Class<? extends IUT2004BotController> getBotControllerClass()
setBotControllerClass
public void setBotControllerClass(Class<? extends IUT2004BotController> botControllerClass)
getControlServerPort
public int getControlServerPort()
getControlServerHost
public String getControlServerHost()
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.