Interface ExportConfiguration
- All Known Implementing Classes:
DefaultExportConfiguration
public interface ExportConfiguration
Configuration class that holds the relevant settings for exporting documents
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the amount of downloads that can take place before the export-file is removedintReturns the interval (in minutes) that defines how often the cleanup scheduler will run.intReturns 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.tempdirvoidsetMaxDownloadCount(int maxDownloadCount) Sets the amount of downloads that can take place before the export-file is removedvoidsetTempFileCleanupInterval(int tempFileCleanupInterval) Sets the interval (in minutes) that defines how often the cleanup scheduler will run.voidsetTempFileMaxAge(int tempFileMaxAge) sets the time (in minutes) that defines how long an export-temp-file will be kept before the cleanup scheduler will remove itvoidsetTempFolderPath(String tempFolderPath) Sets the path, where export temp files will be stored.
-
Method Details
-
getMaxDownloadCount
int getMaxDownloadCount()Returns the amount of downloads that can take place before the export-file is removed- Returns:
- the amount of downloads that can take place before the export-file is removed
-
setMaxDownloadCount
void setMaxDownloadCount(int maxDownloadCount) Sets the amount of downloads that can take place before the export-file is removed- Parameters:
maxDownloadCount- the amount of downloads that can take place before the export-file is removed
-
getTempFileCleanupInterval
int getTempFileCleanupInterval()Returns the interval (in minutes) that defines how often the cleanup scheduler will run.- Returns:
- the interval (in minutes) that defines how often the cleanup scheduler will run
-
setTempFileCleanupInterval
void setTempFileCleanupInterval(int tempFileCleanupInterval) Sets the interval (in minutes) that defines how often the cleanup scheduler will run.- Parameters:
tempFileCleanupInterval- the interval (in minutes) that defines how often the cleanup scheduler will run
-
getTempFolderPath
String getTempFolderPath()Returns the path, where export temp files will be stored. defaults to java.io.tempdir- Returns:
- Customize Toolbar…
-
setTempFolderPath
Sets the path, where export temp files will be stored.- Parameters:
tempFolderPath- the path, where export temp files will be stored
-
getTempFileMaxAge
int getTempFileMaxAge()Returns the time (in minutes) that defines how long an export-temp-file will be kept before the cleanup scheduler will remove it- Returns:
- the time (in minutes) that defines how long an export-temp-file will be kept before the cleanup scheduler will remove it
-
setTempFileMaxAge
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 it- Parameters:
tempFileMaxAge- the time (in minutes) that defines how long an export-temp-file will be kept before * the cleanup scheduler will remove it
-