public abstract class UpgradeAdapter extends Object implements UpgradeExtension
ID
Constructor and Description |
---|
UpgradeAdapter() |
Modifier and Type | Method and Description |
---|---|
String[] |
getRequiredPluginIds() |
protected void |
setMessage(String msg,
ImmoToolTask.Callback callback) |
void |
upgrade(Connection c,
AbstractDbDriver dbDriver,
DbExtension dbExtension,
DbUser user,
File importDir,
Properties projectProps,
ImmoToolTask.Callback callback)
This method is executed, when an older database is migrated.
|
void |
upgradeFinished(Connection c,
AbstractDbDriver dbDriver,
DbExtension dbExtension,
DbUser user,
File importDir,
ImmoToolTask.Callback callback)
This method is executed, when the upgrade process is finished.
|
public String[] getRequiredPluginIds()
getRequiredPluginIds
in interface BasicExtension
protected void setMessage(String msg, ImmoToolTask.Callback callback)
public void upgrade(Connection c, AbstractDbDriver dbDriver, DbExtension dbExtension, DbUser user, File importDir, Properties projectProps, ImmoToolTask.Callback callback) throws SQLException, IOException
UpgradeExtension
upgrade
in interface UpgradeExtension
SQLException
IOException
public void upgradeFinished(Connection c, AbstractDbDriver dbDriver, DbExtension dbExtension, DbUser user, File importDir, ImmoToolTask.Callback callback) throws SQLException, IOException
UpgradeExtension
upgradeFinished
in interface UpgradeExtension
SQLException
IOException
Copyright © 2015 OpenEstate. All rights reserved.