From bf6a5ff023f84c53d0195833a48540ec56249e52 Mon Sep 17 00:00:00 2001 From: Alex Huang Date: Wed, 18 Sep 2013 09:34:24 -0700 Subject: [PATCH] Added a ManagementServer scope but it isn't used yet. Added @Deprecated to one of the constructors --- .../src/org/apache/cloudstack/framework/config/ConfigKey.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/config/src/org/apache/cloudstack/framework/config/ConfigKey.java b/framework/config/src/org/apache/cloudstack/framework/config/ConfigKey.java index c13d8610c54..913ec953f3d 100644 --- a/framework/config/src/org/apache/cloudstack/framework/config/ConfigKey.java +++ b/framework/config/src/org/apache/cloudstack/framework/config/ConfigKey.java @@ -32,7 +32,7 @@ import com.cloud.utils.exception.CloudRuntimeException; public class ConfigKey { public static enum Scope { - Global, Zone, Cluster, StoragePool, Account + Global, Zone, Cluster, StoragePool, Account, ManagementServer } private final String _category; @@ -104,6 +104,7 @@ public class ConfigKey { _multiplier = multiplier; } + @Deprecated public ConfigKey(Class type, String name, String category, String defaultValue, String description, boolean isDynamic) { this(type, name, category, defaultValue, description, isDynamic, Scope.Global, null); }