public class CheckSequences extends IntegrityCheck
di, rc, vl
IC_ALLREPAIRS, IC_CANCEL, IC_CHECK, IC_CHECKDONE, IC_NOTAPPLY, IC_REPAIR, IC_REPORT, IC_TENANT
Constructor and Description |
---|
CheckSequences(DatabaseInformation di,
ReportCollector rc,
ValidateLogger vl)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
check()
Override this to perform the check.
|
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.
|
void |
setSequencesList(java.lang.String[] sequenceList)
This method gives a list of sequences to check.
|
doCheck, reportProblem
public CheckSequences(DatabaseInformation di, ReportCollector rc, ValidateLogger vl)
mdi
- ic
- vl
- public MXException getTitle()
IntegrityCheck
getTitle
in class IntegrityCheck
public boolean conditionsCheck() throws java.sql.SQLException
IntegrityCheck
conditionsCheck
in class IntegrityCheck
java.sql.SQLException
public boolean prerequisitesCheck()
IntegrityCheck
prerequisitesCheck
in class IntegrityCheck
protected void check() throws java.lang.Exception
IntegrityCheck
check
in class IntegrityCheck
java.lang.Exception
Problems are reported to the report collector.
public void setSequencesList(java.lang.String[] sequenceList)
sequenceList
- List of sequences to check.