Class BackupSummary

java.lang.Object
com.atlassian.crowd.manager.backup.BackupSummary

public class BackupSummary extends Object
Summary of automated backup files.
Since:
v2.7
  • Constructor Details

    • BackupSummary

      public BackupSummary(int numBackups, @Nullable Date earliestDate, @Nullable Date latestDate)
  • Method Details

    • getNumBackups

      public int getNumBackups()
      Return the number of backups found.
      Returns:
      the number of backups found
    • getEarliestDate

      @Nullable public Date getEarliestDate()
      Return the date of the most recent backup.
      Returns:
      the date of the most recent backup, or null if there are no backups
    • getLatestDate

      @Nullable public Date getLatestDate()
      Return the date of the oldest backup.
      Returns:
      the date of the oldest backup, or null if there are no backups