public class VerifyMTExtensionViews extends CheckTenantData
| Modifier and Type | Field and Description |
|---|---|
protected java.sql.Connection |
masterCon |
protected Util |
util |
protected java.util.Set |
viewsNotFoundInMaximo |
currentTenantdi, rc, vlIC_ALLREPAIRS, IC_CANCEL, IC_CHECK, IC_CHECKDONE, IC_NOTAPPLY, IC_REPAIR, IC_REPORT, IC_TENANT| Constructor and Description |
|---|
VerifyMTExtensionViews(DatabaseInformation mdi,
ReportCollector ic,
ValidateLogger vl)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
check()
Init list of viewsNotFoundInMaximo so it only have to be done once.
|
void |
checkPerConnection(java.sql.Connection dc,
ValidateLogger vl)
Report when table have extensions but no view is defined or the view is incorrect.
|
boolean |
conditionsCheck()
Should this test be run?
This is for things like preMerlin or DB2 only checks.
|
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.
|
getTenantClause, getTenantClause, reportProblemdoCheckprotected java.util.Set viewsNotFoundInMaximo
protected Util util
protected java.sql.Connection masterCon
public VerifyMTExtensionViews(DatabaseInformation mdi, ReportCollector ic, ValidateLogger vl)
mdi - ic - vl - public void check()
throws java.lang.Exception
check in class CheckTenantDatajava.lang.ExceptionProblems are reported to the report collector.public void checkPerConnection(java.sql.Connection dc,
ValidateLogger vl)
throws java.lang.Exception
checkPerConnection in class CheckTenantDatajava.lang.Exceptionpublic MXException getTitle()
IntegrityCheckgetTitle in class IntegrityCheckpublic boolean conditionsCheck()
throws java.sql.SQLException
IntegrityCheckconditionsCheck in class IntegrityCheckjava.sql.SQLExceptionpublic boolean prerequisitesCheck()
IntegrityCheckprerequisitesCheck in class IntegrityCheck