Class BackupOptions


  • public final class BackupOptions
    extends BaseActionOptions
    Options for Creating a Backup schedule
    Author:
    Jeremy Unruh
    • Method Detail

      • create

        public static BackupOptions create​(String backupName)
        Create a new Backup schedule with the given backupName
        Parameters:
        backupName - the name of the backup
        Returns:
        BackupOptions
      • daily

        public BackupOptions daily​(int rotation)
        Indicates the backup will run daily keeping rotation copies
        Parameters:
        rotation - the number of backups to maintain
        Returns:
        BackupOptions
      • weekly

        public BackupOptions weekly​(int rotation)
        Indicates the backup will run weekly keeping rotation copies
        Parameters:
        rotation - the number of backups to maintain
        Returns:
        BackupOptions
      • getName

        public String getName()
      • getBackupType

        public String getBackupType()
      • getRotation

        public Integer getRotation()