com.ibm.tivoli.maximo.integrity

Class IntegrityCheck

  • java.lang.Object
    • com.ibm.tivoli.maximo.integrity.IntegrityCheck
    • Method Detail

      • reportProblem

        protected void reportProblem(Report report)
                              throws java.lang.Exception
        Called by sub-classes to report problems.
        Parameters:
        report -
        Throws:
        java.lang.Exception
      • getTitle

        public abstract MXException getTitle()
        Returns an MXException that tells the user what is being checked now. "Checking for any workflow loops that may exist."
      • conditionsCheck

        public abstract boolean conditionsCheck()
                                         throws java.lang.Exception
        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.
        Parameters:
        mdi -
        Returns:
        true if the conditions are correct for the check.
        Throws:
        java.sql.SQLException
        java.lang.Exception
      • prerequisitesCheck

        public abstract boolean prerequisitesCheck()
        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.
        Parameters:
        mdi -
        Returns:
        true if all prerequisites are there to run the check.
      • doCheck

        public final void doCheck()
                           throws java.lang.Exception
        Perform this check. If conditions or prerequisites aren't correct, the test won't run.
        Parameters:
        mdi -
        Throws:
        java.lang.Exception
        See Also:
        called first, called second, only called if the first two return true.