public interface BackupScheduler
Modifier and Type | Method and Description |
---|---|
void |
disable()
Disable automated backups.
|
void |
enable()
Enable automated backups.
|
int |
getHourToRun()
Return the time of day at which the automated backups are run
|
boolean |
isEnabled()
Return whether automated backup is enabled
|
void |
setHourToRun(int hourToRun)
Set the time of day at which the automated backups are run.
|
boolean isEnabled()
void enable() throws ScheduledBackupException
ScheduledBackupException
- if there was a problem scheduling the automated backup jobvoid disable() throws ScheduledBackupException
ScheduledBackupException
- if there was a problem scheduling the automated backup jobvoid setHourToRun(int hourToRun) throws ScheduledBackupException
hourToRun
- a valid time (must be between 0 and 23)ScheduledBackupException
- if there was a problem re-scheduling the automated backup jobint getHourToRun()
Copyright © 2017 Atlassian. All rights reserved.