|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<HarvesterDatabaseTables> dk.netarkivet.harvester.datamodel.HarvesterDatabaseTables
public enum HarvesterDatabaseTables
Enum class defining the tables of the Harvester database and the required versions of the individual tables.
Enum Constant Summary | |
---|---|
CONFIGPASSWORDS
The table containing information about config passwords. |
|
CONFIGSEEDLISTS
The table containing information about config seedlists. |
|
CONFIGURATIONS
The table containing information about domain-configurations. |
|
DOMAINS
The table containing information about domains. |
|
EXTENDEDFIELD
The table containing information about extended fields. |
|
EXTENDEDFIELDTYPE
The table containing information about extended field types. |
|
EXTENDEDFIELDVALUE
The table containing information about extended field values. |
|
FRONTIERREPORTMONITOR
The table containing information about frontier report monitor. |
|
FULLHARVESTS
The table containing information about full harvests. |
|
GLOBALCRAWLERTRAPEXPRESSIONS
The table containing information about global crawlertrap expressions. |
|
GLOBALCRAWLERTRAPLISTS
The table containing information about list of global crawlertraps. |
|
HARVESTCONFIGS
The table containing information about harvest configs |
|
HARVESTDEFINITIONS
The table containing information about harvestdefinitions. |
|
HISTORYINFO
The table containing information about history info. |
|
JOBCONFIGS
The table containing information about jobconfigs. |
|
JOBS
The table containing information about jobs. |
|
ORDERTEMPLATES
The table containing information about Heritrix templates. |
|
OWNERINFO
The table containing information about ownerinfo. |
|
PARTIALHARVESTS
The table containing information about partial harvests. |
|
PASSWORDS
The table containing information about passwords. |
|
RUNNINGJOBSHISTORY
The table containing information about running jobs history. |
|
RUNNINGJOBSMONITOR
The table containing information about running jobs monitor. |
|
SCHEDULES
The table containing information about harvest schedules. |
|
SEEDLISTS
The table containing information about seedlists. |
Method Summary | |
---|---|
static void |
checkVersion(java.sql.Connection connection,
HarvesterDatabaseTables table)
Check that a database table has the required version. |
abstract int |
getRequiredVersion()
|
abstract java.lang.String |
getTablename()
|
static HarvesterDatabaseTables |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static HarvesterDatabaseTables[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final HarvesterDatabaseTables DOMAINS
public static final HarvesterDatabaseTables CONFIGURATIONS
public static final HarvesterDatabaseTables SEEDLISTS
public static final HarvesterDatabaseTables PASSWORDS
public static final HarvesterDatabaseTables OWNERINFO
public static final HarvesterDatabaseTables HISTORYINFO
public static final HarvesterDatabaseTables CONFIGPASSWORDS
public static final HarvesterDatabaseTables CONFIGSEEDLISTS
public static final HarvesterDatabaseTables HARVESTDEFINITIONS
public static final HarvesterDatabaseTables PARTIALHARVESTS
public static final HarvesterDatabaseTables FULLHARVESTS
public static final HarvesterDatabaseTables HARVESTCONFIGS
public static final HarvesterDatabaseTables SCHEDULES
public static final HarvesterDatabaseTables ORDERTEMPLATES
public static final HarvesterDatabaseTables JOBS
public static final HarvesterDatabaseTables JOBCONFIGS
public static final HarvesterDatabaseTables GLOBALCRAWLERTRAPLISTS
public static final HarvesterDatabaseTables GLOBALCRAWLERTRAPEXPRESSIONS
public static final HarvesterDatabaseTables RUNNINGJOBSHISTORY
public static final HarvesterDatabaseTables RUNNINGJOBSMONITOR
public static final HarvesterDatabaseTables FRONTIERREPORTMONITOR
public static final HarvesterDatabaseTables EXTENDEDFIELD
public static final HarvesterDatabaseTables EXTENDEDFIELDVALUE
public static final HarvesterDatabaseTables EXTENDEDFIELDTYPE
Method Detail |
---|
public static HarvesterDatabaseTables[] values()
for (HarvesterDatabaseTables c : HarvesterDatabaseTables.values()) System.out.println(c);
public static HarvesterDatabaseTables valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic abstract int getRequiredVersion()
public abstract java.lang.String getTablename()
public static void checkVersion(java.sql.Connection connection, HarvesterDatabaseTables table)
connection
- connection to the database.table
- The table to check up against required version
IllegalState
- if the version isn't as required.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |