diff options
author | James Moger <james.moger@gmail.com> | 2013-04-03 20:31:11 -0400 |
---|---|---|
committer | James Moger <james.moger@gmail.com> | 2013-04-03 20:31:11 -0400 |
commit | 75bca8ea4a8bc1126cc47c97c9ce595fd650c831 (patch) | |
tree | 26aec41efd292231d494868e10641bb92796dd71 /src/main/java/com/gitblit/IStoredSettings.java | |
parent | b9afce4d3db8dec34b22b07c952df814efc7335f (diff) | |
download | gitblit-75bca8ea4a8bc1126cc47c97c9ce595fd650c831.tar.gz gitblit-75bca8ea4a8bc1126cc47c97c9ce595fd650c831.zip |
Added Git Daemon support
Diffstat (limited to 'src/main/java/com/gitblit/IStoredSettings.java')
-rw-r--r-- | src/main/java/com/gitblit/IStoredSettings.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/IStoredSettings.java b/src/main/java/com/gitblit/IStoredSettings.java index 790f8b68..246262db 100644 --- a/src/main/java/com/gitblit/IStoredSettings.java +++ b/src/main/java/com/gitblit/IStoredSettings.java @@ -288,6 +288,16 @@ public abstract class IStoredSettings { }
/**
+ * Override the specified key with the specified value.
+ *
+ * @param key
+ * @param value
+ */
+ public void overrideSetting(String key, int value) {
+ overrides.put(key, "" + value);
+ }
+
+ /**
* Updates the values for the specified keys and persists the entire
* configuration file.
*
|