Uranium
Application Framework
|
A type of plug-in that upgrades the configuration from an old file format to a newer one. More...
Public Member Functions | |
def | __init__ (self) |
Initialises a version upgrade plugin instance. More... | |
![]() | |
str | getPluginId (self) |
None | setPluginId (self, str plugin_id) |
None | setVersion (self, str version) |
str | getVersion (self) |
A type of plug-in that upgrades the configuration from an old file format to a newer one.
Each version upgrade plug-in can convert from some combinations of configuration types and versions to other types and versions. Which types and versions they can convert from though is completely free, and the conversion functions are referred to by the metadata of the plug-in. That's why this interface is basically empty. A plug-in object is needed for the plug-in registry.
def UM.VersionUpgrade.VersionUpgrade.__init__ | ( | self | ) |
Initialises a version upgrade plugin instance.
Reimplemented from UM.PluginObject.PluginObject.