Class Upgrade
- java.lang.Object
-
- com.openindex.openestate.tool.utils.Upgrade
-
public final class Upgrade extends Object
Upgrade.- Author:
- Andreas Rudolph
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Upgrade
create(File zipFile)
void
execute(AbstractDbDriver dbDriver, DbExtension dbExtension, ImmoToolSettings settings, ImmoToolTask.Callback callback)
void
execute(Connection c, AbstractDbDriver dbDriver, DbExtension dbExtension, ImmoToolSettings settings, ImmoToolTask.Callback callback)
ImmoToolAgent
getAgent()
File
getAgentLogo()
File
getPluginDir(String plugin)
File
getWorkDir()
boolean
hasPlugin(String plugin)
-
-
-
Method Detail
-
create
public static Upgrade create(File zipFile) throws IOException
- Throws:
IOException
-
execute
public void execute(AbstractDbDriver dbDriver, DbExtension dbExtension, ImmoToolSettings settings, ImmoToolTask.Callback callback) throws SQLException, IOException
- Throws:
SQLException
IOException
-
execute
public void execute(Connection c, AbstractDbDriver dbDriver, DbExtension dbExtension, ImmoToolSettings settings, ImmoToolTask.Callback callback) throws SQLException, IOException
- Throws:
SQLException
IOException
-
getAgent
public ImmoToolAgent getAgent() throws org.dom4j.DocumentException, IOException
- Throws:
org.dom4j.DocumentException
IOException
-
getAgentLogo
public File getAgentLogo()
-
getWorkDir
public File getWorkDir()
-
hasPlugin
public boolean hasPlugin(String plugin)
-
-