nl.tudelft.goal.unreal.messages
Class EnvironmentParameters
java.lang.Object
cz.cuni.amis.pogamut.base.agent.params.impl.AgentParameters
cz.cuni.amis.pogamut.base.agent.params.impl.RemoteAgentParameters
cz.cuni.amis.pogamut.ut2004.agent.params.UT2004AgentParameters
cz.cuni.amis.pogamut.ut2004.bot.params.UT2004BotParameters
nl.tudelft.goal.unreal.messages.Parameters
nl.tudelft.goal.unreal.messages.EnvironmentParameters
- All Implemented Interfaces:
- cz.cuni.amis.pogamut.base.agent.params.IAgentParameters, cz.cuni.amis.pogamut.base.agent.params.IRemoteAgentParameters, cz.cuni.amis.pogamut.base.component.IComponent
public final class EnvironmentParameters
- extends Parameters
- implements cz.cuni.amis.pogamut.base.component.IComponent
Holds parameters specific for the environment.
Parameters stored are:
Also provides functionality to assign defaults to parameters that have not
been assigned.
- Author:
- M.P. Korstanje
Methods inherited from class cz.cuni.amis.pogamut.base.agent.params.impl.RemoteAgentParameters |
getWorldAddress |
Methods inherited from class cz.cuni.amis.pogamut.base.agent.params.impl.AgentParameters |
getAgentId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface cz.cuni.amis.pogamut.base.agent.params.IAgentParameters |
getAgentId |
EnvironmentParameters
public EnvironmentParameters(cz.cuni.amis.pogamut.base.utils.logging.IAgentLogger logger)
EnvironmentParameters
public EnvironmentParameters(Map<String,eis.iilang.Parameter> parameters,
cz.cuni.amis.pogamut.base.utils.logging.IAgentLogger logger)
throws UnrealEnvironmentException
- Throws:
UnrealEnvironmentException
assignDefaults
public void assignDefaults(cz.cuni.amis.pogamut.base.agent.params.IAgentParameters defaults)
- Specified by:
assignDefaults
in interface cz.cuni.amis.pogamut.base.agent.params.IAgentParameters
- Overrides:
assignDefaults
in class Parameters
getComponentId
public cz.cuni.amis.utils.token.IToken getComponentId()
- Specified by:
getComponentId
in interface cz.cuni.amis.pogamut.base.component.IComponent
getLogLevel
public Level getLogLevel()
getBotNames
public List<String> getBotNames()
setVisualizerServer
public void setVisualizerServer(URI uri)
getVisualizerServer
public URI getVisualizerServer()
getUTServer
public URI getUTServer()
map
public Map<String,eis.iilang.Parameter> map()
- Returns a map of this parameter object.
- Returns:
setLogLevel
public Parameters setLogLevel(Level level)
setBotNames
public Parameters setBotNames(List<String> botNames)
setKey
protected void setKey(Key key,
eis.iilang.Parameter value)
throws nl.tudelft.goal.EIS2Java.exception.TranslationException
- Specified by:
setKey
in class Parameters
- Throws:
nl.tudelft.goal.EIS2Java.exception.TranslationException
getDefaults
public static EnvironmentParameters getDefaults(cz.cuni.amis.pogamut.base.utils.logging.IAgentLogger log)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.