org.exist.backup
Interface BackupDescriptor
- All Known Implementing Classes:
- AbstractBackupDescriptor, FileSystemBackupDescriptor, ZipArchiveBackupDescriptor
public interface BackupDescriptor
COLLECTION_DESCRIPTOR
static final String COLLECTION_DESCRIPTOR
- See Also:
- Constant Field Values
BACKUP_PROPERTIES
static final String BACKUP_PROPERTIES
- See Also:
- Constant Field Values
PREVIOUS_PROP_NAME
static final String PREVIOUS_PROP_NAME
- See Also:
- Constant Field Values
NUMBER_IN_SEQUENCE_PROP_NAME
static final String NUMBER_IN_SEQUENCE_PROP_NAME
- See Also:
- Constant Field Values
INCREMENTAL_PROP_NAME
static final String INCREMENTAL_PROP_NAME
- See Also:
- Constant Field Values
DATE_PROP_NAME
static final String DATE_PROP_NAME
- See Also:
- Constant Field Values
getInputSource
EXistInputSource getInputSource()
getInputSource
EXistInputSource getInputSource(String describedItem)
getChildBackupDescriptor
BackupDescriptor getChildBackupDescriptor(String describedItem)
getBackupDescriptor
BackupDescriptor getBackupDescriptor(String describedItem)
getName
String getName()
getSymbolicPath
String getSymbolicPath()
getSymbolicPath
String getSymbolicPath(String describedItem,
boolean isChildDescriptor)
getProperties
Properties getProperties()
throws IOException
- Returns general properties of the backup, normally including the creation date
or if it is an incremental backup.
- Returns:
- a Properties object or null if no properties were found
- Throws:
IOException - if there was an error in the properties file
getParentDir
File getParentDir()
getDate
Date getDate()
before
boolean before(long timestamp)
parse
void parse(ContentHandler handler)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
Copyright (C) Wolfgang Meier. All rights reserved.