Package liquibase.util
Class ShowSummaryUtil
java.lang.Object
liquibase.util.ShowSummaryUtil
Methods to show a summary of change set counts after an update
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Internal use only filter. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateSummaryDetails
buildSummaryDetails
(DatabaseChangeLog changeLog, UpdateSummaryEnum showSummary, UpdateSummaryOutputEnum showSummaryOutput, StatusVisitor statusVisitor, OutputStream outputStream, ChangeLogIterator runChangeLogIterator) Deprecated.static UpdateSummaryDetails
buildSummaryDetails
(DatabaseChangeLog changeLog, UpdateSummaryEnum showSummary, UpdateSummaryOutputEnum showSummaryOutput, StatusVisitor statusVisitor, OutputStream outputStream, ChangeLogIterator runChangeLogIterator, ChangeExecListener changeExecListener) Show a summary of the changesets which were executed AND return an object with the records of what has happened.static void
showUpdateSummary
(DatabaseChangeLog changeLog, UpdateSummaryEnum showSummary, UpdateSummaryOutputEnum showSummaryOutput, StatusVisitor statusVisitor, OutputStream outputStream) Deprecated.static void
showUpdateSummary
(DatabaseChangeLog changeLog, UpdateSummaryEnum showSummary, UpdateSummaryOutputEnum showSummaryOutput, StatusVisitor statusVisitor, OutputStream outputStream, ChangeLogIterator runChangeLogIterator) Show a summary of the changesets which were executed
-
Constructor Details
-
ShowSummaryUtil
public ShowSummaryUtil()
-
-
Method Details
-
showUpdateSummary
@Deprecated public static void showUpdateSummary(DatabaseChangeLog changeLog, UpdateSummaryEnum showSummary, UpdateSummaryOutputEnum showSummaryOutput, StatusVisitor statusVisitor, OutputStream outputStream) throws LiquibaseException, IOException Deprecated.Show a summary of the changesets which were executed- Parameters:
changeLog
- The changelog used in this updateshowSummary
- Flag to control whether or not we show the summaryshowSummaryOutput
- Flag to control where we show the summarystatusVisitor
- The StatusVisitor used to determine statusesoutputStream
- The OutputStream to use for the summary- Throws:
LiquibaseException
- Thrown by this methodIOException
- Thrown by this method
-
showUpdateSummary
public static void showUpdateSummary(DatabaseChangeLog changeLog, UpdateSummaryEnum showSummary, UpdateSummaryOutputEnum showSummaryOutput, StatusVisitor statusVisitor, OutputStream outputStream, ChangeLogIterator runChangeLogIterator) throws LiquibaseException, IOException Show a summary of the changesets which were executed- Parameters:
changeLog
- The changelog used in this updateshowSummary
- Flag to control whether or not we show the summaryshowSummaryOutput
- Flag to control where we show the summarystatusVisitor
- The StatusVisitor used to determine statusesoutputStream
- The OutputStream to use for the summary- Throws:
LiquibaseException
- Thrown by this methodIOException
- Thrown by this method
-
buildSummaryDetails
@Deprecated public static UpdateSummaryDetails buildSummaryDetails(DatabaseChangeLog changeLog, UpdateSummaryEnum showSummary, UpdateSummaryOutputEnum showSummaryOutput, StatusVisitor statusVisitor, OutputStream outputStream, ChangeLogIterator runChangeLogIterator) throws LiquibaseException, IOException Deprecated.Show a summary of the changesets which were executed AND return an object with the records of what has happened.- Parameters:
changeLog
- The changelog used in this updateshowSummary
- Flag to control whether we show the summaryshowSummaryOutput
- Flag to control where we show the summarystatusVisitor
- The StatusVisitor used to determine statusesoutputStream
- The OutputStream to use for the summary- Returns:
- the details of the update summary
- Throws:
LiquibaseException
- Thrown by this methodIOException
- Thrown by this method
-
buildSummaryDetails
public static UpdateSummaryDetails buildSummaryDetails(DatabaseChangeLog changeLog, UpdateSummaryEnum showSummary, UpdateSummaryOutputEnum showSummaryOutput, StatusVisitor statusVisitor, OutputStream outputStream, ChangeLogIterator runChangeLogIterator, ChangeExecListener changeExecListener) throws LiquibaseException, IOException Show a summary of the changesets which were executed AND return an object with the records of what has happened.- Parameters:
changeLog
- The changelog used in this updateshowSummary
- Flag to control whether we show the summaryshowSummaryOutput
- Flag to control where we show the summarystatusVisitor
- The StatusVisitor used to determine statusesoutputStream
- The OutputStream to use for the summarychangeExecListener
-- Returns:
- the details of the update summary
- Throws:
LiquibaseException
- Thrown by this methodIOException
- Thrown by this method
-
buildSummaryDetails(DatabaseChangeLog, UpdateSummaryEnum, UpdateSummaryOutputEnum, StatusVisitor, OutputStream, ChangeLogIterator, ChangeExecListener)
instead.