Package org.opends.server.tools.upgrade
Class Upgrade
java.lang.Object
org.opends.server.tools.upgrade.Upgrade
This class contains the table of upgrade tasks that need performing when upgrading from one version to another.
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
Returns the configuration upgrade version number of the running binaries.static int
Returns the data upgrade version number of the running binaries.
-
Method Details
-
upgradeConfigVersionNumber
public static int upgradeConfigVersionNumber()Returns the configuration upgrade version number of the running binaries. This number corresponds to the fourth digit of the upgrade version as defined in docs/architecture/version.md.- Returns:
- An int representing the configuration upgrade version number of the running binaries.
-
upgradeDataVersionNumber
public static int upgradeDataVersionNumber()Returns the data upgrade version number of the running binaries. This number corresponds to the fourth digit of the upgrade version as defined in docs/architecture/version.md.- Returns:
- An int representing the data upgrade version number of the running binaries.
-