Interface NodeVersionUpgrader
- All Known Implementing Classes:
NoUpgrades,UnsupportedUpgrade
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for upgrading a node to this version.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic @interfaceMetadata annotation for the upgrader. -
Method Summary
-
Method Details
-
upgrade
Upgrade the node to this version.- Parameters:
config- the configuration to upgrade.- Returns:
- the config after the upgrade.
- Throws:
NodeUpgradeException- if the upgrade fails for any reason.
-