BackupRequestpublic class BackupRequest extends Object This class holds all of the values that the caller needs.
An instance of this class can be used to create a request object. |
Fields Summary |
---|
static final String[] | excludeDirs | File | domainsDir | String | domainName | String | description | File | backupFile | File | domainDir | long | timestamp | File | backupDir | boolean | terse | boolean | verbose |
Constructors Summary |
---|
public BackupRequest(String domainsDirName, String domain, String desc)Create an instance
setDomainsDir(domainsDirName);
setDescription(desc);
domainName = domain;
| public BackupRequest(String domainsDirName, String domain, String desc, String backupFileName)Create an instance
this(domainsDirName, domain, desc);
setBackupFile(backupFileName);
|
Methods Summary |
---|
private void | setBackupFile(java.lang.String name)
backupFile = FileUtils.safeGetCanonicalFile(new File(name));
| private void | setDescription(java.lang.String desc)
description = desc;
| private void | setDomainsDir(java.lang.String name)
domainsDir = FileUtils.safeGetCanonicalFile(new File(name));
| public void | setTerse(boolean b)
terse = b;
| public void | setVerbose(boolean b)
verbose = b;
| public java.lang.String | toString()
return ObjectAnalyzer.toString(this);
|
|