Updated Javadoc in Config File

This commit is contained in:
delvh 2019-10-30 07:45:33 +01:00 committed by GitHub
parent f8ce1ee6d9
commit 236564c32d

View File

@ -52,6 +52,7 @@ public class Config {
case "--localDB": case "--localDB":
case "-db": case "-db":
localDB = new File(args[++i]); localDB = new File(args[++i]);
break;
} }
} }
@ -91,7 +92,18 @@ public class Config {
*/ */
public void setPort(int port) { this.port = port; } public void setPort(int port) { this.port = port; }
/**
*@return the current local database that is held for that user
*@since Envoy v0.1-alpha
**/
public File getLocalDB() { return localDB; } public File getLocalDB() { return localDB; }
/**
*Changes the default local database.
*Exclusively meant for developing reasons.
*
*@param the local database object to set
*@since Envoy v0.1-alpha
**/
public void setLocalDB(File localDB) { this.localDB = localDB; } public void setLocalDB(File localDB) { this.localDB = localDB; }
} }