public class ConfigurationUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static AbstractDatabase |
dbAdapter |
Constructor and Description |
---|
ConfigurationUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
bypassConfiguration()
Reports whether the metacat configuration utility should be run.
|
static boolean |
isBackupDirConfigured()
Check if the application.backupDir property is populated in
metacat.properties and that it points to a writable directory.
|
static boolean |
isMetacatConfigured()
Reports whether metacat is fully configured.
|
public static AbstractDatabase dbAdapter
public static boolean isMetacatConfigured()
public static boolean isBackupDirConfigured() throws MetacatUtilException, edu.ucsb.nceas.utilities.PropertyNotFoundException
MetacatUtilException
edu.ucsb.nceas.utilities.PropertyNotFoundException
public static boolean bypassConfiguration() throws MetacatUtilException, ServiceException
MetacatUtilException
ServiceException
Copyright © 2016 Regents of the University of California. All Rights Reserved.