Package com.openindex.openestate.tool
Class ImmoToolLocalProject
- java.lang.Object
-
- com.openindex.openestate.tool.ImmoToolProject
-
- com.openindex.openestate.tool.ImmoToolLocalProject
-
public class ImmoToolLocalProject extends ImmoToolProject
ImmoToolLocalProject.- Author:
- Andreas Rudolph
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmoToolLocalProject.BackupMode
-
Nested classes/interfaces inherited from class com.openindex.openestate.tool.ImmoToolProject
ImmoToolProject.Type
-
-
Constructor Summary
Constructors Constructor Description ImmoToolLocalProject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getBackupDirectory()
Get the local directory, where backups are stored.int
getBackupMaxFileCount()
Get defined maximum of stored files in the local backup directory.ImmoToolLocalProject.BackupMode
getBackupMode()
long
getBackupTime()
File
getDbDirectory()
AbstractDbDriver
getDbDriver()
ImmoToolProject.Type
getType()
protected void
init()
void
setBackupDirectory(File dir)
void
setBackupMaxFileCount(int count)
void
setBackupMode(ImmoToolLocalProject.BackupMode mode)
void
setBackupTime(long time)
void
setDirectory(File directory)
-
Methods inherited from class com.openindex.openestate.tool.ImmoToolProject
create, getAgent, getAgentLogo, getAppDbConnection, getAppDbDriver, getAppDbExtension, getAppInstance, getAppUser, getDbConnection, getDbConnection, getDbExtension, getDbPlugin, getDbPluginNames, getDbPlugins, getDirectory, getIncompatiblePlugins, getName, getProperties, getProperty, getProperty, getTempDirectory, getUser, isLocalProject, isPluginEnabled, isPluginIncompatible, isPluginInstalled, isPluginUsable, isPluginUsable, isPluginUsable, isRemoteProject, isValidProjectDirectory, load, lookupProjectType, open, openProjectProperties, reloadAgent, reloadAgent, reloadAgentLogo, reloadAgentLogo, reloadPlugins, reloadPlugins, save, saveAgent, saveAgentLogo, setProperties, setProperty, setProperty, setProperty, setProperty, setProperty, unload
-
-
-
-
Method Detail
-
getBackupDirectory
public File getBackupDirectory()
Get the local directory, where backups are stored.- Returns:
- backup directory
-
getBackupMaxFileCount
public int getBackupMaxFileCount()
Get defined maximum of stored files in the local backup directory.- Returns:
- number of maximal stored files, if value <e; 0 unlimited files are stored
-
getBackupMode
public ImmoToolLocalProject.BackupMode getBackupMode()
-
getBackupTime
public long getBackupTime()
-
getDbDirectory
public File getDbDirectory()
-
getDbDriver
public final AbstractDbDriver getDbDriver()
- Specified by:
getDbDriver
in classImmoToolProject
-
getType
public final ImmoToolProject.Type getType()
- Specified by:
getType
in classImmoToolProject
-
init
protected void init() throws IOException
- Overrides:
init
in classImmoToolProject
- Throws:
IOException
-
setBackupDirectory
public void setBackupDirectory(File dir)
-
setBackupMaxFileCount
public void setBackupMaxFileCount(int count)
-
setBackupMode
public void setBackupMode(ImmoToolLocalProject.BackupMode mode)
-
setBackupTime
public void setBackupTime(long time)
-
setDirectory
public void setDirectory(File directory)
- Overrides:
setDirectory
in classImmoToolProject
-
-