public class UT2004BotExecutionConfig extends Object
| Constructor and Description |
|---|
UT2004BotExecutionConfig()
Parameter-less constructor.
|
UT2004BotExecutionConfig(UT2004BotConfig value)
Copy-constructor;
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public UT2004BotExecutionConfig()
public UT2004BotExecutionConfig(UT2004BotConfig value)
value - 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 - Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.