|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.amis.pogamut.ut2004.tournament.botexecution.UT2004BotExecutionConfig
cz.cuni.amis.pogamut.ut2004.tournament.match.UT2004BotConfig
public class UT2004BotConfig
Describes configuration of the custom-bot created using Pogamut platform.
Constructor Summary | |
---|---|
UT2004BotConfig()
|
|
UT2004BotConfig(UT2004BotConfig value)
Copy-constructor. |
Method Summary | |
---|---|
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()
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.tournament.botexecution.UT2004BotExecutionConfig |
---|
getBotId, getJarFile, getPathToBotJar, isBotJarExist, isRedirectStdErr, isRedirectStdOut |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface cz.cuni.amis.pogamut.ut2004.tournament.match.IUT2004BotConfig |
---|
getBotId |
Constructor Detail |
---|
public UT2004BotConfig()
public UT2004BotConfig(UT2004BotConfig value)
value
- Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |