org.rhq.enterprise.agent
Class AgentConfigurationUpgrade
java.lang.Object
org.rhq.enterprise.communications.util.prefs.PreferencesUpgrade
org.rhq.enterprise.agent.AgentConfigurationUpgrade
public class AgentConfigurationUpgrade
- extends PreferencesUpgrade
Upgrades the configuration of the agent preferences.
- Author:
- John Mazzitelli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentConfigurationUpgrade
public AgentConfigurationUpgrade()
- Constructor for
AgentConfigurationUpgrade.
upgradeToLatest
public static void upgradeToLatest(Preferences preferences)
- This is a convenience method that upgrades the given agent preferences to the latest configuration schema
version.
- Parameters:
preferences - the preferences to upgrade
getConfigurationSchemaVersionPreference
public String getConfigurationSchemaVersionPreference()
- Specified by:
getConfigurationSchemaVersionPreference in class PreferencesUpgrade
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.