Add accessors for the configuration file location.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 14 Jun 2011 18:36:48 +0000 (20:36 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 3 Nov 2011 07:45:18 +0000 (08:45 +0100)
src/de/todesbaum/jsite/main/Configuration.java

index bffea23..ca5a1af 100644 (file)
@@ -113,6 +113,25 @@ public class Configuration {
        }
 
        /**
+        * Returns the configuration directory.
+        *
+        * @return The configuration directory
+        */
+       public ConfigurationDirectory getConfigurationDirectory() {
+               return configurationDirectory;
+       }
+
+       /**
+        * Sets the configuration directory.
+        *
+        * @param configurationDirectory
+        *            The configuration directory
+        */
+       public void setConfigurationDirectory(ConfigurationDirectory configurationDirectory) {
+               this.configurationDirectory = configurationDirectory;
+       }
+
+       /**
         * Creates the directory of the configuration file.
         *
         * @return <code>true</code> if the directory exists, or if it could be