|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.backup.ListManager
public class ListManager
This class is responsible for returning information about backups. It opens each backup zip file and examines the properties file for the information that was stored when the backup was performed. It returns all this information to CLI as a String.
| Constructor Summary | |
|---|---|
ListManager(BackupRequest req)
Creates an instance of ListManager. |
|
| Method Summary | |
|---|---|
protected File |
getBackupDirectory(BackupRequest request)
If both the backupDir and backupConfig are not set then this method behaves as it did in v2. |
String |
list()
Find all backup zip files in a domain and return a String summarizing information about the backup. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListManager(BackupRequest req)
throws BackupException,
BackupWarningException
req - The BackupRequest instance with required information.
BackupException - if there is a fatal error with the
BackupRequest object.
BackupWarningException - if there is a non-fatal error with the
BackupRequest object.| Method Detail |
|---|
public String list()
throws BackupException
BackupException - if there is a fatal errorprotected File getBackupDirectory(BackupRequest request)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||