public class DiffToChangeLog extends Object
Constructor and Description |
---|
DiffToChangeLog(DiffOutputControl diffOutputControl) |
DiffToChangeLog(DiffResult diffResult,
DiffOutputControl diffOutputControl) |
Modifier and Type | Method and Description |
---|---|
protected ChangeSet |
generateChangeSet(Change change,
ObjectQuotingStrategy quotingStrategy) |
List<ChangeSet> |
generateChangeSets() |
protected String |
generateId() |
protected String |
getChangeSetAuthor() |
protected List<Class<? extends DatabaseObject>> |
getOrderedOutputTypes(Class<? extends ChangeGenerator> generatorType) |
void |
print(PrintStream out) |
void |
print(PrintStream out,
ChangeLogSerializer changeLogSerializer)
Prints changeLog that would bring the target database to be the same as
the reference database
|
void |
print(String changeLogFile) |
void |
print(String changeLogFile,
ChangeLogSerializer changeLogSerializer) |
void |
setChangeSetAuthor(String changeSetAuthor) |
void |
setChangeSetContext(String changeSetContext) |
void |
setDiffResult(DiffResult diffResult) |
void |
setIdRoot(String idRoot) |
public DiffToChangeLog(DiffResult diffResult, DiffOutputControl diffOutputControl)
public DiffToChangeLog(DiffOutputControl diffOutputControl)
public void setDiffResult(DiffResult diffResult)
public void setChangeSetContext(String changeSetContext)
public void print(String changeLogFile) throws ParserConfigurationException, IOException, DatabaseException
public void print(PrintStream out) throws ParserConfigurationException, IOException, DatabaseException
public void print(String changeLogFile, ChangeLogSerializer changeLogSerializer) throws ParserConfigurationException, IOException, DatabaseException
public void print(PrintStream out, ChangeLogSerializer changeLogSerializer) throws ParserConfigurationException, IOException, DatabaseException
protected List<Class<? extends DatabaseObject>> getOrderedOutputTypes(Class<? extends ChangeGenerator> generatorType)
protected ChangeSet generateChangeSet(Change change, ObjectQuotingStrategy quotingStrategy)
protected String getChangeSetAuthor()
public void setChangeSetAuthor(String changeSetAuthor)
public void setIdRoot(String idRoot)
protected String generateId()
Copyright © 2017 Liquibase.org. All rights reserved.