public class CheckDatabaseVersion extends IntegrityCheck
di, rc, vl
IC_ALLREPAIRS, IC_CANCEL, IC_CHECK, IC_CHECKDONE, IC_NOTAPPLY, IC_REPAIR, IC_REPORT, IC_TENANT
Constructor and Description |
---|
CheckDatabaseVersion(DatabaseInformation mdi,
ReportCollector ic,
ValidateLogger vl)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
check()
This method only checks if SQL Server version is lower than SQL Server
2005 (major=9).
|
boolean |
conditionsCheck()
Check should only be execute for SQL Server
|
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.
|
doCheck, reportProblem
public CheckDatabaseVersion(DatabaseInformation mdi, ReportCollector ic, ValidateLogger vl)
mdi
- ic
- vl
- public MXException getTitle()
IntegrityCheck
getTitle
in class IntegrityCheck
public boolean conditionsCheck() throws java.lang.Exception
conditionsCheck
in class IntegrityCheck
java.lang.Exception
java.sql.SQLException
IntegrityCheck.conditionsCheck()
public boolean prerequisitesCheck()
IntegrityCheck
prerequisitesCheck
in class IntegrityCheck
protected void check() throws java.lang.Exception
check
in class IntegrityCheck
java.lang.Exception
IntegrityCheck.check()