public class BackupCreator
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_ENCODING
The encoding used for the template properties (BLOB).
|
protected CryptoManager |
cryptoManager
The key management facility, also provides passphrases.
|
Constructor and Description |
---|
BackupCreator()
The constructor method for the creator.
|
Modifier and Type | Method and Description |
---|---|
static BackgroundTask |
createBackgroundTask(javax.swing.Icon icon,
java.lang.String helpid,
StatusBar statusbar,
java.io.File targetfile,
java.util.Properties writeparams,
DatabaseManager dbmanager,
DatabaseConnector connector,
java.util.Vector<java.lang.String[]> exportschemas,
java.lang.String[] inspectedschemas,
DeployProps deployprops,
LicenseManager licmanager,
int fileformat,
java.lang.String zippassword,
CryptoManager cryptomanager,
java.lang.String recipientuserid,
boolean armor,
java.lang.String version,
boolean logmessages)
Convenience method to get a pre-configured background task.
|
void |
run()
Execution code.
|
public static final java.lang.String CONFIG_ENCODING
protected CryptoManager cryptoManager
public BackupCreator()
public void run()
run
in interface java.lang.Runnable
public static BackgroundTask createBackgroundTask(javax.swing.Icon icon, java.lang.String helpid, StatusBar statusbar, java.io.File targetfile, java.util.Properties writeparams, DatabaseManager dbmanager, DatabaseConnector connector, java.util.Vector<java.lang.String[]> exportschemas, java.lang.String[] inspectedschemas, DeployProps deployprops, LicenseManager licmanager, int fileformat, java.lang.String zippassword, CryptoManager cryptomanager, java.lang.String recipientuserid, boolean armor, java.lang.String version, boolean logmessages)
icon
- The icon representing the taskhelpid
- The optional help linkstatusbar
- The component for messages (optional)targetfile
- The file to store table datawriteparams
- The parameters for XML writingdbmanager
- The database managerconnector
- The connectorexportschemas
- The schemas to be part of the backup, normally the user space tablesinspectedschemas
- The schemas to be used for graph analysisdeployprops
- The application propertieslicmanager
- The license managerfileformat
- BackupFormatPage.FORMAT_XML
|...zippassword
- The optional ZIP archive passwordcryptomanager
- The cryptographic managerrecipientuserid
- The (application) user ID used for PGP encyptionarmor
- Use the ASCII format for PGP encyption?version
- The version info (optional)logmessages
- Shall messages be logged sequentially (optional)?Copyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.