org.rhq.core.domain.common.composite
Class SystemSettings
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<SystemSetting,String>
org.rhq.core.domain.common.composite.SystemSettings
- All Implemented Interfaces:
- Serializable, Cloneable, Map<SystemSetting,String>
public class SystemSettings
- extends HashMap<SystemSetting,String>
- implements Serializable
This class represents the system settings of the RHQ server. Whenever a new property is added,
it must be reflected by a property in this map (and therefore defined in the SystemSetting
enum).
- See Also:
- Serialized Form
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, remove, size, values |
SystemSettings
public SystemSettings()
SystemSettings
public SystemSettings(SystemSettings original)
- A copy-constructor, because GWT doesn't support Cloneable.
(Seriously, Google?)
- Parameters:
original
- - See Also:
- http://code.google.com/p/google-web-toolkit/issues/detail?id=1843
fromMap
public static SystemSettings fromMap(Map<String,String> properties)
put
public String put(SystemSetting key,
String value)
- Specified by:
put
in interface Map<SystemSetting,String>
- Overrides:
put
in class HashMap<SystemSetting,String>
putAll
public void putAll(Map<? extends SystemSetting,? extends String> m)
- Specified by:
putAll
in interface Map<SystemSetting,String>
- Overrides:
putAll
in class HashMap<SystemSetting,String>
getDriftPlugins
public Map<String,String> getDriftPlugins()
setDriftPlugins
public void setDriftPlugins(Map<String,String> driftPlugins)
toConfiguration
public Configuration toConfiguration()
applyConfiguration
public void applyConfiguration(Configuration configuration)
toMap
public Map<String,String> toMap()
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.