From 46521d8230100b783faea624465be2bd1dd66535 Mon Sep 17 00:00:00 2001 From: delvh Date: Wed, 30 Oct 2019 07:45:33 +0100 Subject: [PATCH] Updated Javadoc in Config File --- src/main/java/envoy/client/Config.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/main/java/envoy/client/Config.java b/src/main/java/envoy/client/Config.java index 0ffcca8..d6bf106 100644 --- a/src/main/java/envoy/client/Config.java +++ b/src/main/java/envoy/client/Config.java @@ -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; } -} \ No newline at end of file +}