public class Main
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
net.cnri.util.StreamTable |
preferences |
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
boolean |
doesKnowbotNeedUpdate(java.lang.String repoType,
java.lang.String botType,
int latestVersion)
Returns whether or not the given knowbot needs an update if the latest
version is the one given.
|
AdminToolUI |
getUI() |
static void |
main(java.lang.String[] argv) |
net.cnri.util.StreamTable |
prefs()
Get the preferences table
|
void |
savePreferences()
Save the preferences table
|
void |
setKnowbotUpdated(java.lang.String repoType,
java.lang.String botType,
int version)
Stores the version of the given knowbot
|
void |
shutdown() |
public net.cnri.util.StreamTable prefs()
public void savePreferences() throws java.lang.Exception
java.lang.Exception
public AdminToolUI getUI()
public void shutdown()
public boolean doesKnowbotNeedUpdate(java.lang.String repoType, java.lang.String botType, int latestVersion)
public void setKnowbotUpdated(java.lang.String repoType, java.lang.String botType, int version)
public static void main(java.lang.String[] argv)