liquibase.diff.output.changelog
Class DiffToChangeLog
java.lang.Object
liquibase.diff.output.changelog.DiffToChangeLog
public class DiffToChangeLog
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiffToChangeLog
public DiffToChangeLog(DiffResult diffResult,
DiffOutputControl diffOutputControl)
DiffToChangeLog
public DiffToChangeLog(DiffOutputControl diffOutputControl)
setDiffResult
public void setDiffResult(DiffResult diffResult)
setChangeSetContext
public void setChangeSetContext(String changeSetContext)
print
public void print(String changeLogFile)
throws ParserConfigurationException,
IOException,
DatabaseException
- Throws:
ParserConfigurationException
IOException
DatabaseException
print
public void print(PrintStream out)
throws ParserConfigurationException,
IOException,
DatabaseException
- Throws:
ParserConfigurationException
IOException
DatabaseException
print
public void print(String changeLogFile,
ChangeLogSerializer changeLogSerializer)
throws ParserConfigurationException,
IOException,
DatabaseException
- Throws:
ParserConfigurationException
IOException
DatabaseException
print
public void print(PrintStream out,
ChangeLogSerializer changeLogSerializer)
throws ParserConfigurationException,
IOException,
DatabaseException
- Prints changeLog that would bring the target database to be the same as
the reference database
- Throws:
ParserConfigurationException
IOException
DatabaseException
generateChangeSets
public List<ChangeSet> generateChangeSets()
getOrderedOutputTypes
protected List<Class<? extends DatabaseObject>> getOrderedOutputTypes(Class<? extends ChangeGenerator> generatorType)
generateChangeSet
protected ChangeSet generateChangeSet(Change change,
ObjectQuotingStrategy quotingStrategy)
getChangeSetAuthor
protected String getChangeSetAuthor()
setChangeSetAuthor
public void setChangeSetAuthor(String changeSetAuthor)
setIdRoot
public void setIdRoot(String idRoot)
generateId
protected String generateId()
Copyright © 2014 Liquibase.org. All Rights Reserved.