public class BackupDescriptor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BackupDescriptor.Type
The different types of backups.
|
Constructor and Description |
---|
BackupDescriptor(BackupInfo info)
The BackupDescriptor generated using a BackupInfo object.
|
BackupDescriptor(File path,
Date creationDate,
BackupDescriptor.Type type,
String id)
The BackupDescriptor constructor.
|
Modifier and Type | Method and Description |
---|---|
BackupInfo |
getBackupInfo()
Returns the BackupInfo object associated with this backup.
|
Date |
getCreationDate()
Returns the creation date of the backup.
|
String |
getID()
Returns the backup ID.
|
File |
getPath()
Returns the directory where the backup is located.
|
BackupDescriptor.Type |
getType()
Returns the type of the backup.
|
public BackupDescriptor(File path, Date creationDate, BackupDescriptor.Type type, String id)
path
- the directory where the backup is located.creationDate
- the date of creation of the backup.type
- the type of backup.id
- the backup id.public BackupDescriptor(BackupInfo info)
info
- the BackupInfo object that contains all the information about
the backup.public Date getCreationDate()
public File getPath()
public BackupDescriptor.Type getType()
public BackupInfo getBackupInfo()
null
.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.