liquibase.change.core
Class AnonymousChange

java.lang.Object
  extended by liquibase.change.AbstractChange
      extended by liquibase.change.core.AnonymousChange
All Implemented Interfaces:
Change

public class AnonymousChange
extends AbstractChange


Constructor Summary
AnonymousChange()
           
AnonymousChange(SqlStatement... statement)
           
 
Method Summary
 SqlStatement[] generateStatements(Database database)
          Generates the SQL statements required to run the change
 String getConfirmationMessage()
           
 
Methods inherited from class liquibase.change.AbstractChange
createInverses, generateCheckSum, generateRollbackStatements, getAffectedDatabaseObjects, getChangeMetaData, getChangeSet, getResourceAccessor, init, requiresUpdatedDatabaseMetadata, setChangeSet, setPriority, setResourceAccessor, supports, supportsRollback, validate, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnonymousChange

public AnonymousChange()

AnonymousChange

public AnonymousChange(SqlStatement... statement)
Method Detail

getConfirmationMessage

public String getConfirmationMessage()
Returns:
Confirmation message to be displayed after the change is executed

generateStatements

public SqlStatement[] generateStatements(Database database)
Description copied from interface: Change
Generates the SQL statements required to run the change

Parameters:
database - databasethe target Database associated to this change's statements
Returns:
an array of Strings with the statements


Copyright © 2004-2011 Liquibase.org. All Rights Reserved.