public class DatabaseUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
getScriptSuffixes()
Gets the available upgrade versions for metacat by getting a list of
upgrade script from properties in metacat.properties that start with
"database.upgradeVersion".
|
static java.util.TreeSet<DBVersion> |
getUpgradeVersions()
Gets the available upgrade versions for metacat by getting a list of
upgrade script from properties in metacat.properties that start with
"database.upgradeVersion".
|
static boolean |
isDatabaseConfigured()
Reports whether database is fully configured.
|
public static boolean isDatabaseConfigured() throws MetacatUtilException
MetacatUtilException
public static java.util.TreeSet<DBVersion> getUpgradeVersions() throws edu.ucsb.nceas.utilities.PropertyNotFoundException
edu.ucsb.nceas.utilities.PropertyNotFoundException
public static java.util.Map<java.lang.String,java.lang.String> getScriptSuffixes() throws edu.ucsb.nceas.utilities.PropertyNotFoundException
edu.ucsb.nceas.utilities.PropertyNotFoundException
Copyright © 2020 Regents of the University of California. All Rights Reserved.