public class SourceMySqldiffFile extends Object implements liquibase.change.custom.CustomTaskChange
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTION_PASSWORD |
static 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
|
String |
getConfirmationMessage() |
void |
setFileOpener(liquibase.resource.ResourceAccessor fileOpener) |
void |
setSqlFile(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 String CONNECTION_USERNAME
public static final 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 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
CustomChange.setFileOpener(ResourceAccessor)
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(String sqlFile)
sqlFile
- the sqlFile to setCopyright © 2024 OpenMRS Inc.. All rights reserved.