public class BackupAdmin extends MetacatAdmin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_EXISTS_ONLY |
static java.lang.String |
HIDDEN_EXISTS_POPULATED |
static java.lang.String |
HIDDEN_EXISTS_UNPOPULATED |
static java.lang.String |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
void |
configureBackup(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle configuration of the backup directory
|
protected java.lang.String |
getBackupDirStatus(java.lang.String backupBaseDir)
Find the status of the backup base directory.
|
static BackupAdmin |
getInstance()
Get the single instance of BackupAdmin.
|
protected java.util.Vector<java.lang.String> |
validateOptions(javax.servlet.http.HttpServletRequest request)
Validate the most important configuration options submitted by the user.
|
public static final java.lang.String HIDDEN_EXISTS_POPULATED
public static final java.lang.String HIDDEN_EXISTS_UNPOPULATED
public static final java.lang.String BASE_EXISTS_ONLY
public static final java.lang.String UNKNOWN
public static BackupAdmin getInstance()
public void configureBackup(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws AdminException
request
- the http request informationresponse
- the http response to be sent back to the clientAdminException
protected java.lang.String getBackupDirStatus(java.lang.String backupBaseDir)
backupBaseDir
- the directory we want to checkprotected java.util.Vector<java.lang.String> validateOptions(javax.servlet.http.HttpServletRequest request)
validateOptions
in class MetacatAdmin
Copyright © 2020 Regents of the University of California. All Rights Reserved.