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, isRedirectStdOutclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBotIdpublic UT2004BotConfig()
public UT2004BotConfig(UT2004BotConfig value)
value - public int getTeamNumber()
IUT2004BotConfiggetTeamNumber in interface IUT2004BotConfigpublic UT2004BotConfig setTeamNumber(int teamNumber)
teamNumber - public UT2004BotConfig setBotId(String botId)
UT2004BotExecutionConfigDOES NOT MEAN THAT THE EXECUTED BOT WILL HAVE THIS ID IN UT2004!
setBotId in class UT2004BotExecutionConfigpublic UT2004BotConfig setBotId(cz.cuni.amis.utils.token.IToken botId)
UT2004BotExecutionConfigDOES NOT MEAN THAT THE EXECUTED BOT WILL HAVE THIS ID IN UT2004!
setBotId in class UT2004BotExecutionConfigpublic UT2004BotConfig setPathToBotJar(String pathToBotJar)
UT2004BotExecutionConfigsetPathToBotJar in class UT2004BotExecutionConfigpublic UT2004BotConfig setRedirectStdErr(boolean redirectStdErr)
UT2004BotExecutionConfigsetRedirectStdErr in class UT2004BotExecutionConfigpublic UT2004BotConfig setRedirectStdOut(boolean redirectStdOut)
UT2004BotExecutionConfigsetRedirectStdOut in class UT2004BotExecutionConfigpublic String toString()
toString in class UT2004BotExecutionConfigCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.