cz.cuni.amis.pogamut.udk.utils
Class UCCWrapper.UCCWrapperConf

Package class diagram package UCCWrapper.UCCWrapperConf
java.lang.Object
  extended by cz.cuni.amis.pogamut.udk.utils.UCCWrapper.UCCWrapperConf
All Implemented Interfaces:
Serializable
Enclosing class:
UCCWrapper

public static class UCCWrapper.UCCWrapperConf
extends Object
implements Serializable

Configuration object of the UCC wrapper instance.

See Also:
Serialized Form

Field Summary
static UCCWrapper.UCCWrapperConf DEFAULTS
           
 
Constructor Summary
UCCWrapper.UCCWrapperConf()
           
 
Method Summary
 void applyDefaults(UCCWrapper.UCCWrapperConf defaults)
           
 UCCWrapper.UCCWrapperConf setBotServerPort(Integer botServerPort)
           
 UCCWrapper.UCCWrapperConf setControlServerPort(Integer controlServerPort)
           
 UCCWrapper.UCCWrapperConf setGameBotsPack(String gameBotsPack)
          Eg.
 UCCWrapper.UCCWrapperConf setGameType(String gameType)
          Eg.
 UCCWrapper.UCCWrapperConf setLogger(Logger log)
          Logger used by the UCC.
 UCCWrapper.UCCWrapperConf setMapName(String mapName)
           
 UCCWrapper.UCCWrapperConf setOptions(String options)
          Can be used for setting mutators etc.
 UCCWrapper.UCCWrapperConf setOtherCommandLineParameters(String otherCommandLineParameters)
           
 UCCWrapper.UCCWrapperConf setStartOnUnusedPort(boolean startOnUnusedPort)
          Forces UCC to find free port and start on it, otherwise it will start on ports 3000 + 3001.
 UCCWrapper.UCCWrapperConf setWineprefix(String wineprefix)
          UNIX-only option
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULTS

public static final UCCWrapper.UCCWrapperConf DEFAULTS
Constructor Detail

UCCWrapper.UCCWrapperConf

public UCCWrapper.UCCWrapperConf()
Method Detail

applyDefaults

public void applyDefaults(UCCWrapper.UCCWrapperConf defaults)

setStartOnUnusedPort

public UCCWrapper.UCCWrapperConf setStartOnUnusedPort(boolean startOnUnusedPort)
Forces UCC to find free port and start on it, otherwise it will start on ports 3000 + 3001.

Parameters:
startOnUnusedPort -

setGameBotsPack

public UCCWrapper.UCCWrapperConf setGameBotsPack(String gameBotsPack)
Eg. GameBots2004, GBSceanrio etc.

Parameters:
gameBotsPack -

setMapName

public UCCWrapper.UCCWrapperConf setMapName(String mapName)

setGameType

public UCCWrapper.UCCWrapperConf setGameType(String gameType)
Eg. BotDeathMatch, BotCTFGame etc. Consult GameBots documentation for complete list available game types.


setOptions

public UCCWrapper.UCCWrapperConf setOptions(String options)
Can be used for setting mutators etc.

Parameters:
options -

setLogger

public UCCWrapper.UCCWrapperConf setLogger(Logger log)
Logger used by the UCC.

Parameters:
log -

setOtherCommandLineParameters

public UCCWrapper.UCCWrapperConf setOtherCommandLineParameters(String otherCommandLineParameters)

setBotServerPort

public UCCWrapper.UCCWrapperConf setBotServerPort(Integer botServerPort)

setControlServerPort

public UCCWrapper.UCCWrapperConf setControlServerPort(Integer controlServerPort)

setWineprefix

public UCCWrapper.UCCWrapperConf setWineprefix(String wineprefix)
UNIX-only option

Parameters:
wineprefix -
Returns:


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.