Class DefaultExportConfiguration
java.lang.Object
com.levigo.jadice.web.server.config.DefaultExportConfiguration
- All Implemented Interfaces:
ExportConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the amount of downloads that can take place before the export-file is removedint
Returns the interval (in minutes) that defines how often the cleanup scheduler will run.int
Returns the time (in minutes) that defines how long an export-temp-file will be kept before the cleanup scheduler will remove itReturns the path, where export temp files will be stored. defaults to java.io.tempdirvoid
setMaxDownloadCount
(int maxDownloadCount) Sets the amount of downloads that can take place before the export-file is removedvoid
setTempFileCleanupInterval
(int tempFileCleanupInterval) Sets the interval (in minutes) that defines how often the cleanup scheduler will run.void
setTempFileMaxAge
(int tempFileMaxAge) sets the time (in minutes) that defines how long an export-temp-file will be kept before the cleanup scheduler will remove itvoid
setTempFolderPath
(String tempFolderPath) Sets the path, where export temp files will be stored.
-
Constructor Details
-
DefaultExportConfiguration
public DefaultExportConfiguration()
-
-
Method Details
-
getMaxDownloadCount
public int getMaxDownloadCount()Description copied from interface:ExportConfiguration
Returns the amount of downloads that can take place before the export-file is removed- Specified by:
getMaxDownloadCount
in interfaceExportConfiguration
- Returns:
- the amount of downloads that can take place before the export-file is removed
-
setMaxDownloadCount
public void setMaxDownloadCount(int maxDownloadCount) Description copied from interface:ExportConfiguration
Sets the amount of downloads that can take place before the export-file is removed- Specified by:
setMaxDownloadCount
in interfaceExportConfiguration
- Parameters:
maxDownloadCount
- the amount of downloads that can take place before the export-file is removed
-
getTempFileCleanupInterval
public int getTempFileCleanupInterval()Description copied from interface:ExportConfiguration
Returns the interval (in minutes) that defines how often the cleanup scheduler will run.- Specified by:
getTempFileCleanupInterval
in interfaceExportConfiguration
- Returns:
- the interval (in minutes) that defines how often the cleanup scheduler will run
-
setTempFileCleanupInterval
public void setTempFileCleanupInterval(int tempFileCleanupInterval) Description copied from interface:ExportConfiguration
Sets the interval (in minutes) that defines how often the cleanup scheduler will run.- Specified by:
setTempFileCleanupInterval
in interfaceExportConfiguration
- Parameters:
tempFileCleanupInterval
- the interval (in minutes) that defines how often the cleanup scheduler will run
-
getTempFolderPath
Description copied from interface:ExportConfiguration
Returns the path, where export temp files will be stored. defaults to java.io.tempdir- Specified by:
getTempFolderPath
in interfaceExportConfiguration
- Returns:
- Customize Toolbar…
-
setTempFolderPath
Description copied from interface:ExportConfiguration
Sets the path, where export temp files will be stored.- Specified by:
setTempFolderPath
in interfaceExportConfiguration
- Parameters:
tempFolderPath
- the path, where export temp files will be stored
-
getTempFileMaxAge
public int getTempFileMaxAge()Description copied from interface:ExportConfiguration
Returns the time (in minutes) that defines how long an export-temp-file will be kept before the cleanup scheduler will remove it- Specified by:
getTempFileMaxAge
in interfaceExportConfiguration
- Returns:
- the time (in minutes) that defines how long an export-temp-file will be kept before the cleanup scheduler will remove it
-
setTempFileMaxAge
public void setTempFileMaxAge(int tempFileMaxAge) Description copied from interface:ExportConfiguration
sets the time (in minutes) that defines how long an export-temp-file will be kept before the cleanup scheduler will remove it- Specified by:
setTempFileMaxAge
in interfaceExportConfiguration
- Parameters:
tempFileMaxAge
- the time (in minutes) that defines how long an export-temp-file will be kept before * the cleanup scheduler will remove it
-