public class ChangelogRewriter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ChangelogRewriter.ChangeLogRewriterResult |
Constructor and Description |
---|
ChangelogRewriter() |
Modifier and Type | Method and Description |
---|---|
static ChangelogRewriter.ChangeLogRewriterResult |
addChangeLogId(String changeLogFile,
String changeLogId,
DatabaseChangeLog databaseChangeLog)
Add the changelog ID from the changelog file and update the XSD version
|
static ChangelogRewriter.ChangeLogRewriterResult |
removeChangeLogId(String changeLogFile,
String changeLogId,
DatabaseChangeLog databaseChangeLog)
Remove the changelog ID from the changelog file
|
public static ChangelogRewriter.ChangeLogRewriterResult removeChangeLogId(String changeLogFile, String changeLogId, DatabaseChangeLog databaseChangeLog)
changeLogFile
- The changelog file we are updatingchangeLogId
- The changelog ID we are removingdatabaseChangeLog
- The DatabaseChangeLog object to reset the ID inpublic static ChangelogRewriter.ChangeLogRewriterResult addChangeLogId(String changeLogFile, String changeLogId, DatabaseChangeLog databaseChangeLog)
changeLogFile
- The changelog file we are updatingchangeLogId
- The changelog ID we are addingdatabaseChangeLog
- The DatabaseChangeLog object to set the ID inCopyright © 2023 Liquibase.org. All rights reserved.