liquibase.change.core
Class AnonymousChange
java.lang.Object
liquibase.change.AbstractChange
liquibase.change.core.AnonymousChange
- All Implemented Interfaces:
- Change
public class AnonymousChange
- extends AbstractChange
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 |
AnonymousChange
public AnonymousChange()
AnonymousChange
public AnonymousChange(SqlStatement... statement)
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
String
s with the statements
Copyright © 2004-2011 Liquibase.org. All Rights Reserved.