FileDocCategorySizeDatePackage
BackupRequest.javaAPI DocGlassfish v2 API4664Fri May 04 22:23:14 BST 2007com.sun.enterprise.config.backup

BackupRequest

public 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.
author
bnevins

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 voidsetBackupFile(java.lang.String name)

		backupFile	= FileUtils.safeGetCanonicalFile(new File(name));
	
private voidsetDescription(java.lang.String desc)

		description = desc;
	
private voidsetDomainsDir(java.lang.String name)

		domainsDir	= FileUtils.safeGetCanonicalFile(new File(name));
	
public voidsetTerse(boolean b)

		terse = b;
	
public voidsetVerbose(boolean b)

		verbose = b;
	
public java.lang.StringtoString()

		return ObjectAnalyzer.toString(this);