From: David ‘Bombe’ Roden Date: Tue, 14 Jun 2011 18:36:48 +0000 (+0200) Subject: Add accessors for the configuration file location. X-Git-Tag: 0.10-rc1~65 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d11bfba4213cc49fed096b6c58cfc22db1cd9e1e;p=jSite.git Add accessors for the configuration file location. --- diff --git a/src/de/todesbaum/jsite/main/Configuration.java b/src/de/todesbaum/jsite/main/Configuration.java index bffea23..ca5a1af 100644 --- a/src/de/todesbaum/jsite/main/Configuration.java +++ b/src/de/todesbaum/jsite/main/Configuration.java @@ -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 true if the directory exists, or if it could be