Class DbCheckReportImpl

java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.DbCheckReportImpl
All Implemented Interfaces:
DbCheckReport

public class DbCheckReportImpl extends Object implements DbCheckReport
  • 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 interface DbCheckReport
    • getDuration

      public long getDuration()
      Description copied from interface: DbCheckReport
      Returns the milliseconds the db check lasted.
      Specified by:
      getDuration in interface DbCheckReport
    • getSummary

      public String getSummary()
      Description copied from interface: DbCheckReport
      Returns a report summary.
      Specified by:
      getSummary in interface DbCheckReport
    • getChangelogDiff

      public Changelog 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 interface DbCheckReport
    • getSqlDiff

      public List<String> getSqlDiff()
      Description copied from interface: DbCheckReport
      Returns the sql statements that represent the difference between the two databases.
      Specified by:
      getSqlDiff in interface DbCheckReport