org.jvnet.hudson.plugins.thinbackup.utils
Class Utils
java.lang.Object
org.jvnet.hudson.plugins.thinbackup.utils.Utils
public class Utils
- extends java.lang.Object
|
Constructor Summary |
Utils()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
waitUntilIdle
public static void waitUntilIdle()
getReferencedFullBackup
public static java.io.File getReferencedFullBackup(java.io.File diffBackup)
- Parameters:
diffBackup -
- Returns:
- the full backup referenced by the given diff backup, or null if none can be found.
getFormattedDirectory
public static java.io.File getFormattedDirectory(java.io.File directory,
ThinBackupPeriodicWork.BackupType backupType,
java.util.Date date)
getReferencingDiffBackups
public static java.util.List<java.io.File> getReferencingDiffBackups(java.io.File fullBackup)
- Parameters:
fullBackup -
- Returns:
- a list of all diff backups which reference the given full backup.
getAvailableValidBackupSets
public static java.util.List<BackupSet> getAvailableValidBackupSets()
- Returns:
- a list of available backup sets, ordered ascending by date of the BackupSets full backup.
getAvailableBackups
public static java.util.List<java.lang.String> getAvailableBackups()
- Returns:
- a list of available backups, ordered ascending by date.
Copyright © 2011 Borland (a Microfocus Company). All Rights Reserved.