public class Xatkit extends Object
Xatkit Class used to start a Xatkit bot instance.
This class is executed when invoking java -jar xatkit.jar. The main(String[]) method accepts an
optional String argument containing the path of the .properties file to use to start Xatkit. If
Xatkit is started without a .properties file it will try to load its properties from the
System.getenv() map.
main(String[])| Constructor and Description |
|---|
Xatkit() |
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
getConfiguration()
Returns the
Configuration used to initialize the XatkitCore instance. |
static XatkitCore |
getXatkitCore()
Returns the
XatkitCore instance used to run the bot. |
static void |
main(String[] args)
Starts the underlying
XatkitCore engine. |
public static void main(String[] args)
XatkitCore engine.
The provided args can contain a single value representing the path of the .properties file to
use to start Xatkit. If Xatkit is started without a .properties file it will try to load its
properties from the System.getenv() map. In this case the property keys must be upper cased, and
. must be replaced by _. See
the documentation
for more information.
args - the program's argumentspublic static Configuration getConfiguration()
Configuration used to initialize the XatkitCore instance.
This method is used for testing purposes, and allows to check the loaded Configuration even if the
XatkitCore initialization fails.
Configuration used to initialize the XatkitCore instance.public static XatkitCore getXatkitCore()
XatkitCore instance used to run the bot.XatkitCore instance used to run the botCopyright © 2020 SOM Research Lab. All rights reserved.