Total Complexity | 0 |
Total Lines | 11 |
Duplicated Lines | 0 % |
Coverage | 100% |
1 | 1 | from plugin.preferences.options.core.base import SchedulerOption |
|
10 | 1 | class BackupMaintenanceIntervalOption(SchedulerOption): |
|
|
|||
11 | 1 | key = 'backup.interval' |
|
12 | 1 | type = 'enum' |
|
13 | |||
14 | 1 | choices = INTERVAL_LABELS_BY_KEY |
|
15 | 1 | default = SyncInterval.D1 |
|
16 | 1 | scope = 'server' |
|
17 | |||
18 | 1 | group = ('Backups',) |
|
19 | 1 | label = 'Maintenance Interval' |
|
20 | order = 10 |
||
21 |
Methods which raise
NotImplementedError
should be overridden in concrete child classes.