public class UT2004BotConfig extends UT2004BotExecutionConfig implements IUT2004BotConfig
Constructor and Description |
---|
UT2004BotConfig() |
UT2004BotConfig(UT2004BotConfig value)
Copy-constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getTeamNumber()
Returns team of the bot.
|
UT2004BotConfig |
setBotId(cz.cuni.amis.utils.token.IToken botId)
Sets ID of this bot configuration.
|
UT2004BotConfig |
setBotId(String botId)
Sets ID of this bot configuration.
|
UT2004BotConfig |
setPathToBotJar(String pathToBotJar)
Sets the path to jar-file of the bot.
|
UT2004BotConfig |
setRedirectStdErr(boolean redirectStdErr)
Sets whether the StdErr of the bot execution should be redirected to log (== true, default) or sunk (== false).
|
UT2004BotConfig |
setRedirectStdOut(boolean redirectStdOut)
Sets whether the StdOut of the bot execution should be redirected to log (== true, default) or sunk (== false).
|
UT2004BotConfig |
setTeamNumber(int teamNumber)
Sets team number the bot should play for.
|
String |
toString() |
getBotId, getJarFile, getPathToBotJar, isBotJarExist, isRedirectStdErr, isRedirectStdOut
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBotId
public UT2004BotConfig()
public UT2004BotConfig(UT2004BotConfig value)
value
- public int getTeamNumber()
IUT2004BotConfig
getTeamNumber
in interface IUT2004BotConfig
public UT2004BotConfig setTeamNumber(int teamNumber)
teamNumber
- public UT2004BotConfig setBotId(String botId)
UT2004BotExecutionConfig
DOES NOT MEAN THAT THE EXECUTED BOT WILL HAVE THIS ID IN UT2004!
setBotId
in class UT2004BotExecutionConfig
public UT2004BotConfig setBotId(cz.cuni.amis.utils.token.IToken botId)
UT2004BotExecutionConfig
DOES NOT MEAN THAT THE EXECUTED BOT WILL HAVE THIS ID IN UT2004!
setBotId
in class UT2004BotExecutionConfig
public UT2004BotConfig setPathToBotJar(String pathToBotJar)
UT2004BotExecutionConfig
setPathToBotJar
in class UT2004BotExecutionConfig
public UT2004BotConfig setRedirectStdErr(boolean redirectStdErr)
UT2004BotExecutionConfig
setRedirectStdErr
in class UT2004BotExecutionConfig
public UT2004BotConfig setRedirectStdOut(boolean redirectStdOut)
UT2004BotExecutionConfig
setRedirectStdOut
in class UT2004BotExecutionConfig
public String toString()
toString
in class UT2004BotExecutionConfig
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.