|
||||||||||
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
public class UT2004BotExecutionConfig
Constructor Summary | |
---|---|
UT2004BotExecutionConfig()
Parameter-less constructor. |
|
UT2004BotExecutionConfig(UT2004BotConfig value)
Copy-constructor; |
Method Summary | |
---|---|
cz.cuni.amis.utils.token.IToken |
getBotId()
Returns ID of this bot configuration. |
File |
getJarFile()
Returns path to jar as a file. |
String |
getPathToBotJar()
Path to the runnable jar file contining the bot to be run. |
boolean |
isBotJarExist()
Whether the jar specified by this config exists. |
boolean |
isRedirectStdErr()
Whether the StdErr of the bot execution should be redirected to log (== true, default) or sunk (== false). |
boolean |
isRedirectStdOut()
Whether the StdOut of the bot execution should be redirected to log (== true, default) or sunk (== false). |
UT2004BotExecutionConfig |
setBotId(cz.cuni.amis.utils.token.IToken botId)
Sets ID of this bot configuration. |
UT2004BotExecutionConfig |
setBotId(String botId)
Sets ID of this bot configuration. |
UT2004BotExecutionConfig |
setPathToBotJar(String pathToBotJar)
Sets the path to jar-file of the bot. |
UT2004BotExecutionConfig |
setRedirectStdErr(boolean redirectStdErr)
Sets whether the StdErr of the bot execution should be redirected to log (== true, default) or sunk (== false). |
UT2004BotExecutionConfig |
setRedirectStdOut(boolean redirectStdOut)
Sets whether the StdOut of the bot execution should be redirected to log (== true, default) or sunk (== false). |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UT2004BotExecutionConfig()
public UT2004BotExecutionConfig(UT2004BotConfig value)
value
- Method Detail |
---|
public cz.cuni.amis.utils.token.IToken getBotId()
DOES NOT MEAN THAT THE EXECUTED BOT WILL HAVE THIS ID IN UT2004!
public UT2004BotExecutionConfig setBotId(String botId)
DOES NOT MEAN THAT THE EXECUTED BOT WILL HAVE THIS ID IN UT2004!
botId
- public UT2004BotExecutionConfig setBotId(cz.cuni.amis.utils.token.IToken botId)
DOES NOT MEAN THAT THE EXECUTED BOT WILL HAVE THIS ID IN UT2004!
botId
- public String getPathToBotJar()
public UT2004BotExecutionConfig setPathToBotJar(String pathToBotJar)
botDirPath
- public boolean isBotJarExist()
public File getJarFile()
public boolean isRedirectStdErr()
public UT2004BotExecutionConfig setRedirectStdErr(boolean redirectStdErr)
redirectStdErr
- public boolean isRedirectStdOut()
public UT2004BotExecutionConfig setRedirectStdOut(boolean redirectStdOut)
redirectStdOut
- public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |