public abstract class ConfigTableCheck extends CheckTenantData
currentTenantdi, rc, vlIC_ALLREPAIRS, IC_CANCEL, IC_CHECK, IC_CHECKDONE, IC_NOTAPPLY, IC_REPAIR, IC_REPORT, IC_TENANT| Constructor and Description |
|---|
ConfigTableCheck(DatabaseInformation mdi,
ReportCollector ic,
ValidateLogger vl)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkPerConnection(java.sql.Connection dc,
ValidateLogger vl)
Perform the check.
|
boolean |
conditionsCheck()
Should this test be run?
This is for things like preMerlin or DB2 only checks.
|
abstract MXException |
getTitle()
Returns an MXException that tells the user what is being checked now.
|
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.
|
protected void |
setColumnsToIgnore(java.lang.String[] ignoreColumns)
Give name of columns in the base table to ignore.
|
protected void |
setMsgKey(java.lang.String msgKey)
Change the message used to report mismatches.
|
protected void |
setTableAndKeys(java.lang.String baseTable,
java.lang.String[] tableKeys)
Give the name of the base table and key columns in the table.
|
check, getTenantClause, getTenantClause, reportProblemdoCheckpublic ConfigTableCheck(DatabaseInformation mdi, ReportCollector ic, ValidateLogger vl)
mdi - ic - vl - protected void setTableAndKeys(java.lang.String baseTable,
java.lang.String[] tableKeys)
baseTable - Expected in upper casetableKeys - Expected in upper caseprotected void setColumnsToIgnore(java.lang.String[] ignoreColumns)
protected void setMsgKey(java.lang.String msgKey)
public void checkPerConnection(java.sql.Connection dc,
ValidateLogger vl)
throws java.lang.Exception
CheckTenantDatacheckPerConnection in class CheckTenantDatajava.lang.Exceptionpublic abstract MXException getTitle()
IntegrityCheckgetTitle in class IntegrityCheckpublic boolean conditionsCheck()
throws java.sql.SQLException
IntegrityCheckconditionsCheck in class IntegrityCheckjava.sql.SQLExceptionpublic boolean prerequisitesCheck()
IntegrityCheckprerequisitesCheck in class IntegrityCheck