Class DbCheckReportImpl
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.DbCheckReportImpl
- All Implemented Interfaces:
DbCheckReport
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionDbCheckReportImpl
(org.slf4j.Logger log, liquibase.diff.DiffResult result, long startTime, long duration, SchemaService schemaService) -
Method Summary
Modifier and TypeMethodDescriptionReturns the db changelog that represents the difference between the two compared databases.long
Returns the milliseconds the db check lasted.Returns the sql statements that represent the difference between the two databases.long
Returns the point in time where the db check has been started.Returns a report summary.
-
Constructor Details
-
DbCheckReportImpl
public DbCheckReportImpl(org.slf4j.Logger log, liquibase.diff.DiffResult result, long startTime, long duration, SchemaService schemaService)
-
-
Method Details
-
getStartTime
public long getStartTime()Description copied from interface:DbCheckReport
Returns the point in time where the db check has been started.- Specified by:
getStartTime
in interfaceDbCheckReport
-
getDuration
public long getDuration()Description copied from interface:DbCheckReport
Returns the milliseconds the db check lasted.- Specified by:
getDuration
in interfaceDbCheckReport
-
getSummary
Description copied from interface:DbCheckReport
Returns a report summary.- Specified by:
getSummary
in interfaceDbCheckReport
-
getChangelogDiff
Description copied from interface:DbCheckReport
Returns the db changelog that represents the difference between the two compared databases. If there is no difference,null
is returned.- Specified by:
getChangelogDiff
in interfaceDbCheckReport
-
getSqlDiff
Description copied from interface:DbCheckReport
Returns the sql statements that represent the difference between the two databases.- Specified by:
getSqlDiff
in interfaceDbCheckReport
-