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 classImmoToolLocalProject.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 FilegetBackupDirectory()Get the local directory, where backups are stored.intgetBackupMaxFileCount()Get defined maximum of stored files in the local backup directory.ImmoToolLocalProject.BackupModegetBackupMode()longgetBackupTime()FilegetDbDirectory()AbstractDbDrivergetDbDriver()ImmoToolProject.TypegetType()protected voidinit()voidsetBackupDirectory(File dir)voidsetBackupMaxFileCount(int count)voidsetBackupMode(ImmoToolLocalProject.BackupMode mode)voidsetBackupTime(long time)voidsetDirectory(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:
getDbDriverin classImmoToolProject
-
getType
public final ImmoToolProject.Type getType()
- Specified by:
getTypein classImmoToolProject
-
init
protected void init() throws IOException- Overrides:
initin 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:
setDirectoryin classImmoToolProject
-
-