com.ibm.tivoli.maximo.integrity.check

Class ConfigTableCheck

    • Method Detail

      • setTableAndKeys

        protected void setTableAndKeys(java.lang.String baseTable,
                                       java.lang.String[] tableKeys)
        Give the name of the base table and key columns in the table. Everything should be in upper case.
        Parameters:
        baseTable - Expected in upper case
        tableKeys - Expected in upper case
      • setColumnsToIgnore

        protected void setColumnsToIgnore(java.lang.String[] ignoreColumns)
        Give name of columns in the base table to ignore. This usually is just the unique ID column. Use uppercase.
      • setMsgKey

        protected void setMsgKey(java.lang.String msgKey)
        Change the message used to report mismatches. Used for the cases where there are pre-Merlin mismatches that were included in the base product.
      • getTitle

        public abstract MXException getTitle()
        Description copied from class: IntegrityCheck
        Returns an MXException that tells the user what is being checked now. "Checking for any workflow loops that may exist."
        Specified by:
        getTitle in class IntegrityCheck
      • conditionsCheck

        public boolean conditionsCheck()
                                throws java.sql.SQLException
        Description copied from class: IntegrityCheck
        Should this test be run? This is for things like preMerlin or DB2 only checks. It's not an issue if test won't run because the conditions don't apply to it.
        Specified by:
        conditionsCheck in class IntegrityCheck
        Returns:
        true if the conditions are correct for the check.
        Throws:
        java.sql.SQLException
      • prerequisitesCheck

        public boolean prerequisitesCheck()
        Description copied from class: IntegrityCheck
        Can this test be run now? This is for things like loading the meta data, or having valid data in the MaxAttribute table. The test should run after other problems are resolved.
        Specified by:
        prerequisitesCheck in class IntegrityCheck
        Returns:
        true if all prerequisites are there to run the check.