liquibase.command
Class GenerateChangeLogCommand

java.lang.Object
  extended by liquibase.command.AbstractCommand
      extended by liquibase.command.DiffCommand
          extended by liquibase.command.DiffToChangeLogCommand
              extended by liquibase.command.GenerateChangeLogCommand
All Implemented Interfaces:
LiquibaseCommand

public class GenerateChangeLogCommand
extends DiffToChangeLogCommand


Constructor Summary
GenerateChangeLogCommand()
           
 
Method Summary
protected  DatabaseSnapshot createTargetSnapshot()
           
 String getAuthor()
           
 String getContext()
           
 String getName()
           
protected  Object run()
           
 GenerateChangeLogCommand setAuthor(String author)
           
 GenerateChangeLogCommand setContext(String context)
           
 
Methods inherited from class liquibase.command.DiffToChangeLogCommand
getChangeLogFile, getDiffOutputControl, getOutputStream, setChangeLogFile, setDiffOutputControl, setOutputStream
 
Methods inherited from class liquibase.command.DiffCommand
createDiffResult, createReferenceSnapshot, getCompareControl, getReferenceDatabase, getReferenceSnapshotControl, getSnapshotListener, getSnapshotTypes, getTargetDatabase, getTargetSnapshotControl, setCompareControl, setReferenceDatabase, setReferenceSnapshotControl, setSnapshotListener, setSnapshotTypes, setSnapshotTypes, setTargetDatabase, setTargetSnapshotControl, validate
 
Methods inherited from class liquibase.command.AbstractCommand
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateChangeLogCommand

public GenerateChangeLogCommand()
Method Detail

getName

public String getName()
Specified by:
getName in interface LiquibaseCommand
Overrides:
getName in class DiffToChangeLogCommand

getAuthor

public String getAuthor()

setAuthor

public GenerateChangeLogCommand setAuthor(String author)

getContext

public String getContext()

setContext

public GenerateChangeLogCommand setContext(String context)

run

protected Object run()
              throws Exception
Overrides:
run in class DiffToChangeLogCommand
Throws:
Exception

createTargetSnapshot

protected DatabaseSnapshot createTargetSnapshot()
                                         throws DatabaseException,
                                                InvalidExampleException
Overrides:
createTargetSnapshot in class DiffCommand
Throws:
DatabaseException
InvalidExampleException


Copyright © 2016 Liquibase.org. All rights reserved.