org.rhq.enterprise.communications
Class ServiceContainerConfigurationUpgrade
java.lang.Object
org.rhq.enterprise.communications.util.prefs.PreferencesUpgrade
org.rhq.enterprise.communications.ServiceContainerConfigurationUpgrade
public class ServiceContainerConfigurationUpgrade
- extends PreferencesUpgrade
Upgrades the configuration of the communications preferences.
- Author:
- John Mazzitelli
|
Method Summary |
String |
getConfigurationSchemaVersionPreference()
Returns the name of the preference whose value is the configuration schema version of the entire set of
preferences. |
static void |
upgradeToLatest(Preferences preferences)
This is a convenience method that upgrades the given communications preferences to the latest configuration
schema version. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceContainerConfigurationUpgrade
public ServiceContainerConfigurationUpgrade()
- Constructor for
ServiceContainerConfigurationUpgrade.
upgradeToLatest
public static void upgradeToLatest(Preferences preferences)
- This is a convenience method that upgrades the given communications preferences to the latest configuration
schema version.
- Parameters:
preferences - the preferences to upgrade
getConfigurationSchemaVersionPreference
public String getConfigurationSchemaVersionPreference()
- Description copied from class:
PreferencesUpgrade
- Returns the name of the preference whose value is the configuration schema version of the entire set of
preferences.
- Specified by:
getConfigurationSchemaVersionPreference in class PreferencesUpgrade
- Returns:
- the name of the preference whose value is the configuration version integer
- See Also:
PreferencesUpgrade.getConfigurationSchemaVersionPreference()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.