|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucsb.nceas.metacat.util.DatabaseUtil
public class DatabaseUtil
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||