|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomChange
Interface to implement when creating a custom change. Actual custom changes implementations need to
implement CustomSqlChange or CustomTaskChange.
See http://www.liquibase.org/manual/custom_refactoring_class for more information.
Method Summary | |
---|---|
String |
getConfirmationMessage()
Confirmation message to be displayed after the change is executed |
void |
setFileOpener(ResourceAccessor resourceAccessor)
Sets the fileOpener that should be used for any file loading and resource finding for files that are provided by the user. |
void |
setUp()
This method will be called after the no arg constructor and all of the properties have been set to allow the task to do any heavy tasks or more importantly generate any exceptions to report to the user about the settings provided. |
ValidationErrors |
validate(Database database)
Tests that the change is configured correctly before attempting to execute it. |
Method Detail |
---|
String getConfirmationMessage()
String
containing the message after the change is executedvoid setUp() throws SetupException
SetupException
void setFileOpener(ResourceAccessor resourceAccessor)
ValidationErrors validate(Database database)
database
- The database the change will be ran against
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |