uk.ac.soton.itinnovation.grid.service.sla.upgrade
Class UpgraderImpl
java.lang.Object
uk.ac.soton.itinnovation.grid.service.sla.upgrade.UpgraderImpl
- All Implemented Interfaces:
- Upgrader
public class UpgraderImpl
- extends Object
- implements Upgrader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgraderImpl
public UpgraderImpl()
performUpgrade
public UpgradeReport performUpgrade(String oldVersion,
String versionBeingInstalled)
- Description copied from interface:
Upgrader
- This method is called to inform the service that an internal upgrade
may be required. e.g. a service may choose to upgrade database
tables and data within tables.
Implementations must support being called many times without corrupting
the upgrade. The WebConfigBase will call this method every time
that a web page is refreshed during the upgrade.
The method should report an UpgradeReport that describes the progress
of the upgrade. If no upgrade was required, the UpgradeReport should
contain a status of UpgradeStatus.COMPLETE.
The UpgradeReport can contain progress information that can be used
to keep the user informed of the progress of long running asynchronous
upgrades.
- Specified by:
performUpgrade in interface Upgrader
- Parameters:
oldVersion - the version of the installation being upgradedversionBeingInstalled - the version being installed now
- Returns:
- UpgradeReport a report on the status of the upgrade
Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.