public class SourceMySqldiffFile
extends java.lang.Object
implements liquibase.change.custom.CustomTaskChange
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONNECTION_PASSWORD |
static java.lang.String |
CONNECTION_USERNAME |
Constructor and Description |
---|
SourceMySqldiffFile() |
Modifier and Type | Method and Description |
---|---|
void |
execute(liquibase.database.Database database)
Does the work of executing the file on mysql
|
java.lang.String |
getConfirmationMessage() |
void |
setFileOpener(liquibase.resource.ResourceAccessor fileOpener) |
void |
setSqlFile(java.lang.String sqlFile) |
void |
setUp()
Get the values of the parameters passed in and set them to the local variables on this class.
|
liquibase.exception.ValidationErrors |
validate(liquibase.database.Database database) |
public static final java.lang.String CONNECTION_USERNAME
public static final java.lang.String CONNECTION_PASSWORD
public void execute(liquibase.database.Database database) throws liquibase.exception.CustomChangeException
execute
in interface liquibase.change.custom.CustomTaskChange
liquibase.exception.CustomChangeException
CustomTaskChange.execute(liquibase.database.Database)
public java.lang.String getConfirmationMessage()
getConfirmationMessage
in interface liquibase.change.custom.CustomChange
CustomChange.getConfirmationMessage()
public void setFileOpener(liquibase.resource.ResourceAccessor fileOpener)
setFileOpener
in interface liquibase.change.custom.CustomChange
liquibase.change.custom.CustomChange#setFileOpener(liquibase.FileOpener)
public void setUp() throws liquibase.exception.SetupException
setUp
in interface liquibase.change.custom.CustomChange
liquibase.exception.SetupException
CustomChange.setUp()
public liquibase.exception.ValidationErrors validate(liquibase.database.Database database)
validate
in interface liquibase.change.custom.CustomChange
CustomChange.validate(liquibase.database.Database)
public void setSqlFile(java.lang.String sqlFile)
sqlFile
- the sqlFile to setCopyright © 2018 OpenMRS Inc.. All Rights Reserved.