Package org.openhab.core.tools
Interface Upgrader
@NonNullByDefault
public interface Upgrader
The
Upgrader
provides an interface for upgrading openHAB configuration files.
Implementing class MUST provide a no-argument constructor.- Author:
- Jimmy Tanagra - Initial contribution
-
Method Summary
-
Method Details
-
getName
String getName() -
getDescription
String getDescription() -
execute
Executes the upgrade process.- Parameters:
userdataPath
- the OPENHAB_USERDATA directory for the upgrade, or a custom path given by the user as --userdata argumentconfPath
- the OPENHAB_CONF directory for the upgrade, or a custom path given by the user as --conf argument- Returns:
- true if the upgrade was successful, false otherwise
-