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 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.