Enum HarvesterDatabaseTables

    • Enum Constant Detail

      • CONFIGURATIONS

        public static final HarvesterDatabaseTables CONFIGURATIONS
        The table containing information about domain-configurations.
      • SEEDLISTS

        public static final HarvesterDatabaseTables SEEDLISTS
        The table containing information about seedlists.
      • PASSWORDS

        public static final HarvesterDatabaseTables PASSWORDS
        The table containing information about passwords. Currently not used.
      • OWNERINFO

        public static final HarvesterDatabaseTables OWNERINFO
        The table containing information about ownerinfo. Currently not used.
      • HISTORYINFO

        public static final HarvesterDatabaseTables HISTORYINFO
        The table containing information about history info.
      • CONFIGPASSWORDS

        public static final HarvesterDatabaseTables CONFIGPASSWORDS
        The table containing information about config passwords. Currently not used.
      • CONFIGSEEDLISTS

        public static final HarvesterDatabaseTables CONFIGSEEDLISTS
        The table containing information about config seedlists.
      • HARVESTDEFINITIONS

        public static final HarvesterDatabaseTables HARVESTDEFINITIONS
        The table containing information about harvestdefinitions.
      • PARTIALHARVESTS

        public static final HarvesterDatabaseTables PARTIALHARVESTS
        The table containing information about partial harvests.
      • FULLHARVESTS

        public static final HarvesterDatabaseTables FULLHARVESTS
        The table containing information about full harvests.
      • HARVESTCONFIGS

        public static final HarvesterDatabaseTables HARVESTCONFIGS
        The table containing information about harvest configs
      • SCHEDULES

        public static final HarvesterDatabaseTables SCHEDULES
        The table containing information about harvest schedules.
      • ORDERTEMPLATES

        public static final HarvesterDatabaseTables ORDERTEMPLATES
        The table containing information about Heritrix templates.
      • JOBCONFIGS

        public static final HarvesterDatabaseTables JOBCONFIGS
        The table containing information about jobconfigs.
      • GLOBALCRAWLERTRAPLISTS

        public static final HarvesterDatabaseTables GLOBALCRAWLERTRAPLISTS
        The table containing information about list of global crawlertraps.
      • GLOBALCRAWLERTRAPEXPRESSIONS

        public static final HarvesterDatabaseTables GLOBALCRAWLERTRAPEXPRESSIONS
        The table containing information about global crawlertrap expressions.
      • RUNNINGJOBSHISTORY

        public static final HarvesterDatabaseTables RUNNINGJOBSHISTORY
        The table containing information about running jobs history.
      • RUNNINGJOBSMONITOR

        public static final HarvesterDatabaseTables RUNNINGJOBSMONITOR
        The table containing information about running jobs monitor.
      • FRONTIERREPORTMONITOR

        public static final HarvesterDatabaseTables FRONTIERREPORTMONITOR
        The table containing information about frontier report monitor.
      • EXTENDEDFIELD

        public static final HarvesterDatabaseTables EXTENDEDFIELD
        The table containing information about extended fields.
      • EXTENDEDFIELDVALUE

        public static final HarvesterDatabaseTables EXTENDEDFIELDVALUE
        The table containing information about extended field values.
      • EXTENDEDFIELDTYPE

        public static final HarvesterDatabaseTables EXTENDEDFIELDTYPE
        The table containing information about extended field types.
    • Method Detail

      • values

        public static HarvesterDatabaseTables[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (HarvesterDatabaseTables c : HarvesterDatabaseTables.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static HarvesterDatabaseTables valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getRequiredVersion

        public abstract int getRequiredVersion()
        Returns:
        required version of table.
      • getTablename

        public abstract String getTablename()
        Returns:
        name of database table.
      • checkVersion

        public static void checkVersion​(Connection connection,
                                        HarvesterDatabaseTables table)
        Check that a database table has the required version.

        NB: the provided connection is not closed.

        Parameters:
        connection - connection to the database.
        table - The table to check up against required version
        Throws:
        IllegalState - if the version isn't as required.