mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Added a ManagementServer scope but it isn't used yet. Added @Deprecated to one of the constructors
This commit is contained in:
parent
5b5a617544
commit
bf6a5ff023
@ -32,7 +32,7 @@ import com.cloud.utils.exception.CloudRuntimeException;
|
||||
public class ConfigKey<T> {
|
||||
|
||||
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<T> {
|
||||
_multiplier = multiplier;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public ConfigKey(Class<T> type, String name, String category, String defaultValue, String description, boolean isDynamic) {
|
||||
this(type, name, category, defaultValue, description, isDynamic, Scope.Global, null);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user