Interface BackupScheduler
- All Known Implementing Classes:
AtlassianSchedulerBackupScheduler
public interface BackupScheduler
Service to handle the scheduling of automated backup.
- Since:
- v2.7
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisable()Disable automated backups.voidenable()Enable automated backups.booleanReturn whether automated backup is enabledvoidreschedule(BackupConfiguration backupConfiguration) Reschedules automated backups job by given configuration
-
Method Details
-
isEnabled
boolean isEnabled()Return whether automated backup is enabled- Returns:
- true if automated backup is enabled
-
enable
Enable automated backups.- Throws:
ScheduledBackupException- if there was a problem scheduling the automated backup job
-
disable
Disable automated backups.- Throws:
ScheduledBackupException- if there was a problem scheduling the automated backup job
-
reschedule
Reschedules automated backups job by given configuration- Parameters:
backupConfiguration- Backup configuration used to rescheduled job- Throws:
ScheduledBackupException- if there was a problem rescheduling the automated backup job
-