Class ShowSummaryUtil


  • public class ShowSummaryUtil
    extends Object
    Methods to show a summary of change set counts after an update
    • Constructor Detail

      • ShowSummaryUtil

        public ShowSummaryUtil()
    • Method Detail

      • showUpdateSummary

        public static void showUpdateSummary​(DatabaseChangeLog changeLog,
                                             UpdateSummaryEnum showSummary,
                                             UpdateSummaryOutputEnum showSummaryOutput,
                                             StatusVisitor statusVisitor,
                                             OutputStream outputStream)
                                      throws LiquibaseException,
                                             IOException
        Show a summary of the changesets which were executed
        Parameters:
        changeLog - The changelog used in this update
        showSummary - Flag to control whether or not we show the summary
        showSummaryOutput - Flag to control where we show the summary
        statusVisitor - The StatusVisitor used to determine statuses
        outputStream - The OutputStream to use for the summary
        Throws:
        LiquibaseException - Thrown by this method
        IOException - Thrown by this method