Interface ProjectBackupTask2
- All Superinterfaces:
ScheduleTask
Definition of a task to perform a differential or incremental backup of the project's data.
- Since:
- 4.2.3
-
Method Summary
Modifier and TypeMethodDescriptionProvies the e-mail address to send a back up mail to.boolean
Indicates whether to back up table data.Provides the type of backup to be performed.boolean
Indicates that this is a backup operation.boolean
Indicates whether to send a back up mail.boolean
Indicates whether to send a back up mail on error.Provides the tag name for this task.void
setBackupEmail
(String backupEmail) Defines the e-mail address to send back up mails to.void
setBackupTableData
(boolean backupTableData) Defines whether to back up table data.void
setBackupType
(BackupType backupType) Defines the type of backup to be performed.void
setIsBackup
(boolean backup) Defines this to be a backup operation.void
setSendBackupMail
(boolean sendBackupMail) Defines whether to send a back up mail.void
setSendBackupMailOnError
(boolean sendBackupMailOnError) Defines whether to send a back up mail on error.void
setTagName
(String tagName) Defines the tag name for this task.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
-
getBackupType
BackupType getBackupType()Provides the type of backup to be performed.- Returns:
- The backup type.
- Since:
- 4.2.3
-
setBackupType
Defines the type of backup to be performed.- Parameters:
backupType
- The type of backup.- Since:
- 4.2.3
-
getTagName
String getTagName()Provides the tag name for this task.- Returns:
- The tag name.
- Since:
- 4.2.3
-
setTagName
Defines the tag name for this task.- Parameters:
tagName
- The tag name.- Since:
- 4.2.3
-
getIsBackup
boolean getIsBackup()Indicates that this is a backup operation.- Returns:
true
, if it is a backup operation.- Since:
- 4.2.3
-
setIsBackup
void setIsBackup(boolean backup) Defines this to be a backup operation.- Parameters:
backup
-true
, if this shall be a backup operation.- Since:
- 4.2.3
-
getBackupTableData
boolean getBackupTableData()Indicates whether to back up table data.- Returns:
true
, if table data is to be backed up.- Since:
- 4.2.3
-
setBackupTableData
void setBackupTableData(boolean backupTableData) Defines whether to back up table data.- Parameters:
backupTableData
-true
, to back up table data.- Since:
- 4.2.3
-
getSendBackupMail
boolean getSendBackupMail()Indicates whether to send a back up mail.- Returns:
true
, if to set a back up mail.- Since:
- 4.2.3
-
setSendBackupMail
void setSendBackupMail(boolean sendBackupMail) Defines whether to send a back up mail.- Parameters:
sendBackupMail
-true
, to make it send a back up mail.- Since:
- 4.2.3
-
getSendBackupMailOnError
boolean getSendBackupMailOnError()Indicates whether to send a back up mail on error.- Returns:
true
, if a back up mail should be send on error.- Since:
- 4.2.3
-
setSendBackupMailOnError
void setSendBackupMailOnError(boolean sendBackupMailOnError) Defines whether to send a back up mail on error.- Parameters:
sendBackupMailOnError
-true
, to send a back up mail on error.- Since:
- 4.2.3
-
getBackupEmail
String getBackupEmail()Provies the e-mail address to send a back up mail to.- Returns:
- The e-mail address.
- Since:
- 4.2.3
-
setBackupEmail
Defines the e-mail address to send back up mails to.- Parameters:
backupEmail
- The e-mail address.- Since:
- 4.2.3
-