uk.ac.kcl.cch.jb.pliny
Class DbVersionManager
java.lang.Object
uk.ac.kcl.cch.jb.pliny.DbVersionManager
- public class DbVersionManager
- extends Object
This class provides a mechanism to update the structure of the backing
Pliny database whenever a new version of the Pliny software is installed.
- Author:
- John Bradley
Method Summary |
void |
run()
checks the backing database for its version, and updates it as necessary. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbVersionManager
public DbVersionManager(PlinyPlugin plugin)
- creates an instance of the manager for the current plugin.
The plugin code will run this manager as a part of its startup processing.
- Parameters:
plugin
-
run
public void run()
- checks the backing database for its version, and updates it as necessary.