public class DiffToChangeLog
extends java.lang.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) |
java.util.List<ChangeSet> |
generateChangeSets() |
protected java.lang.String |
generateId() |
protected java.lang.String |
getChangeSetAuthor() |
protected java.util.List<java.lang.Class<? extends DatabaseObject>> |
getOrderedOutputTypes(java.lang.Class<? extends ChangeGenerator> generatorType) |
void |
print(java.io.PrintStream out) |
void |
print(java.io.PrintStream out,
ChangeLogSerializer changeLogSerializer)
Prints changeLog that would bring the target database to be the same as
the reference database
|
void |
print(java.lang.String changeLogFile) |
void |
print(java.lang.String changeLogFile,
ChangeLogSerializer changeLogSerializer) |
void |
setChangeSetAuthor(java.lang.String changeSetAuthor) |
void |
setChangeSetContext(java.lang.String changeSetContext) |
void |
setDiffResult(DiffResult diffResult) |
void |
setIdRoot(java.lang.String idRoot) |
public DiffToChangeLog(DiffResult diffResult, DiffOutputControl diffOutputControl)
public DiffToChangeLog(DiffOutputControl diffOutputControl)
public void setDiffResult(DiffResult diffResult)
public void setChangeSetContext(java.lang.String changeSetContext)
public void print(java.lang.String changeLogFile)
throws javax.xml.parsers.ParserConfigurationException,
java.io.IOException,
DatabaseException
javax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionDatabaseExceptionpublic void print(java.io.PrintStream out)
throws javax.xml.parsers.ParserConfigurationException,
java.io.IOException,
DatabaseException
javax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionDatabaseExceptionpublic void print(java.lang.String changeLogFile,
ChangeLogSerializer changeLogSerializer)
throws javax.xml.parsers.ParserConfigurationException,
java.io.IOException,
DatabaseException
javax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionDatabaseExceptionpublic void print(java.io.PrintStream out,
ChangeLogSerializer changeLogSerializer)
throws javax.xml.parsers.ParserConfigurationException,
java.io.IOException,
DatabaseException
javax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionDatabaseExceptionpublic java.util.List<ChangeSet> generateChangeSets()
protected java.util.List<java.lang.Class<? extends DatabaseObject>> getOrderedOutputTypes(java.lang.Class<? extends ChangeGenerator> generatorType)
protected ChangeSet generateChangeSet(Change change, ObjectQuotingStrategy quotingStrategy)
protected java.lang.String getChangeSetAuthor()
public void setChangeSetAuthor(java.lang.String changeSetAuthor)
public void setIdRoot(java.lang.String idRoot)
protected java.lang.String generateId()