Interface ProjectBackupTask
- All Superinterfaces:
ScheduleTask
Definition for a task to perform a basic backup of the project's current state.
- Since:
- 4.0.27
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get export cached picture resolutions state.boolean
Indicates whether deleted elements will be exported.boolean
Indicates whether table data will be exported.long
Provides the maximum age in milliseconds of revisions being backed up.long
Provides the maximum number of revisions being backed up.void
setExportCachedPictures
(boolean exportCachedPictures) Set export cached picture resolutions state.void
setExportDeletedElements
(boolean exportDeletedElements) Defines whether deleted elements shall be exported.void
setExportTableData
(boolean exportTableData) Defines whether table data is to be exported.void
setMaxRevisionAge
(long age) Sets the max revision age in milli secondsvoid
setMaxRevisionCount
(long count) Defines the maximum number of revisiions to back up.Methods inherited from interface de.espirit.firstspirit.access.schedule.ScheduleTask
checkParams, getClusterNodeName, getDescription, getExecuteInFault, getExecuteParallel, getName, getRemoteTaskType, getScheduleEntry, getTemplate, hasTemplate, isActive, isExecuteOnClusterNode, isProjectTask, setActive, setClusterNodeName, setDescription, setExecuteInFault, setExecuteOnClusterNode, setExecuteParallel, setName, setTemplate, test
-
Method Details
-
getMaxRevisionCount
long getMaxRevisionCount()Provides the maximum number of revisions being backed up.- Returns:
- The maximum number of revisions.
- Since:
- 4.0.27
-
setMaxRevisionCount
void setMaxRevisionCount(long count) Defines the maximum number of revisiions to back up.- Parameters:
count
- The maximum.- Since:
- 4.0.27
-
getMaxRevisionAge
long getMaxRevisionAge()Provides the maximum age in milliseconds of revisions being backed up.- Returns:
- The maximum.
- Since:
- 4.0.27
-
setMaxRevisionAge
void setMaxRevisionAge(long age) Sets the max revision age in milli seconds- Parameters:
age
- The maximum age.- Since:
- 4.0.27
-
getExportDeletedElements
boolean getExportDeletedElements()Indicates whether deleted elements will be exported.- Returns:
true
, if deleted elements get exported.- Since:
- 4.0.27
-
setExportDeletedElements
void setExportDeletedElements(boolean exportDeletedElements) Defines whether deleted elements shall be exported.- Parameters:
exportDeletedElements
-true
, to export deleted elements.- Since:
- 4.0.27
-
getExportTableData
boolean getExportTableData()Indicates whether table data will be exported.- Returns:
true
, if table data gets exported.- Since:
- 4.0.75
-
setExportTableData
void setExportTableData(boolean exportTableData) Defines whether table data is to be exported.- Parameters:
exportTableData
-true
, if to export table data.- Since:
- 4.0.75
-
getExportCachedPictures
boolean getExportCachedPictures()Get export cached picture resolutions state. Cached picture resolutions often take a lot of space and will be created on demand, if they are missing. Default behavior is including the cached picture resolutions in a export.- Returns:
- True if cached pictures should be exported
- Since:
- 5.2.201
-
setExportCachedPictures
void setExportCachedPictures(boolean exportCachedPictures) Set export cached picture resolutions state. Cached picture resolutions often take a lot of space and will be created on demand, if they are missing.- Parameters:
exportCachedPictures
- True if cached pictures should be exported- Since:
- 5.2.201
-