Updated Javadoc in Config File

This commit is contained in:
delvh 2019-10-30 07:45:33 +01:00 committed by GitHub
parent 09ae179728
commit 46521d8230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,7 @@ public class Config {
case "--localDB":
case "-db":
localDB = new File(args[++i]);
break;
}
}
@ -91,7 +92,18 @@ public class Config {
*/
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; }
/**
*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; }
}