Package org.opends.server.tools.upgrade
Class Upgrade
- java.lang.Object
-
- org.opends.server.tools.upgrade.Upgrade
-
public final class Upgrade extends Object
This class contains the table of upgrade tasks that need performing when upgrading from one version to another.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
upgrade(org.opends.server.tools.upgrade.UpgradeContext context)
Upgrades the server fromfromVersion
totoVersion
located in the upgrade context.static int
upgradeVersionNumber()
Returns the upgrade version number of the running binaries.
-
-
-
Method Detail
-
upgrade
public static void upgrade(org.opends.server.tools.upgrade.UpgradeContext context) throws com.forgerock.opendj.cli.ClientException
Upgrades the server fromfromVersion
totoVersion
located in the upgrade context.- Parameters:
context
- The context of the upgrade.- Throws:
com.forgerock.opendj.cli.ClientException
- If an error occurred while performing the upgrade.
-
upgradeVersionNumber
public static int upgradeVersionNumber()
Returns the upgrade version number of the running binaries.This number corresponds to the fourth digit of the upgrade version as define in docs/architecture/version.md.
- Returns:
- An int representing the upgrade version number of the running binaries.
-
-