public interface AutoExport
Modifier and Type | Field and Description |
---|---|
static String |
BASE_FILE_NAME
A default filename prefix that can be used by implementations.
|
static String |
FIX_INVALID_XML_CHARACTERS |
Modifier and Type | Method and Description |
---|---|
String |
exportData()
Performs the actual export of the data according to the implementation's
configuration.
|
String |
getExportFilePath()
Returns the path to be used for backing up data.
|
static final String FIX_INVALID_XML_CHARACTERS
static final String BASE_FILE_NAME
String exportData() throws FileNotFoundException, FileExistsException, IllegalXMLCharactersException, Exception
FileNotFoundException
- if the configured backup directory doesn't exist.FileExistsException
- if the backup filename configured to be used is already taken.IllegalXMLCharactersException
- if the backup data contains illegal characters for XML formatting.Exception
- for no good reason.String getExportFilePath() throws FileNotFoundException, FileExistsException, IOException
FileNotFoundException
- if configuration of the backup paths forces a path that doesn't exist.FileExistsException
- if a file already exists at the path to which export should go.IOException
- if there is a problem with the filesystem when determining the filepath.Copyright © 2002-2017 Atlassian. All Rights Reserved.