public abstract class AbstractChangeLogBasedTask extends BaseLiquibaseTask
BaseLiquibaseTask.ChangeLogProperty, BaseLiquibaseTask.LogRedirector| Constructor and Description |
|---|
AbstractChangeLogBasedTask() |
| Modifier and Type | Method and Description |
|---|---|
String |
getChangeLogDirectory()
Gets the change log directory set from Ant.
|
String |
getChangeLogFile()
Gets the change log file set from Ant.
|
String |
getContexts()
This method no longer does anything.
|
LabelExpression |
getLabels() |
String |
getOutputEncoding() |
org.apache.tools.ant.types.resources.FileResource |
getOutputFile()
This method does nothing.
|
protected Writer |
getOutputFileWriter() |
void |
setChangeLogDirectory(String changeLogDirectory) |
void |
setChangeLogFile(String changeLogFile) |
void |
setContexts(String contexts)
This method no longer does anything.
|
void |
setLabels(String labels) |
void |
setOutputEncoding(String outputEncoding) |
void |
setOutputFile(org.apache.tools.ant.types.resources.FileResource outputFile)
This method does nothing.
|
protected void |
validateParameters()
Subclasses that override this method must always call
super.validateParameters() method. |
addChangeLogParameters, addConfiguredChangeLogProperty, addDatabase, closeDatabase, closeDatabase, createClasspath, createDatabaseFromConfiguredDatabaseType, createDatabaseFromType, createDatabaseObject, createLiquibase, createOutputWriter, createPrintStream, execute, executeWithLiquibaseClassloader, getCurrentDateTimeFunction, getDatabaseChangeLogLockTableName, getDatabaseChangeLogObjectsTablespace, getDatabaseChangeLogTableName, getDatabaseClass, getDefaultCatalogName, getDefaultOutputEncoding, getDefaultSchemaName, getDriver, getLiquibase, getPassword, getUrl, getUsername, init, isOutputDefaultCatalog, isOutputDefaultSchema, isPromptOnNonLocalDatabase, setChangeLogParametersRef, setClasspathRef, setCurrentDateTimeFunction, setDatabaseChangeLogLockTableName, setDatabaseChangeLogObjectsTablespace, setDatabaseChangeLogTableName, setDatabaseClass, setDatabaseRef, setDefaultCatalogName, setDefaultSchemaName, setDriver, setOutputDefaultCatalog, setOutputDefaultSchema, setPassword, setPromptOnNonLocalDatabase, setUrl, setUsername, shouldRunbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected void validateParameters()
BaseLiquibaseTasksuper.validateParameters() method.validateParameters in class BaseLiquibaseTaskprotected Writer getOutputFileWriter() throws IOException
IOExceptionpublic String getChangeLogDirectory()
getChangeLogDirectory in class BaseLiquibaseTaskgetChangeLogDirectory()public void setChangeLogDirectory(String changeLogDirectory)
public String getChangeLogFile()
getChangeLogFile in class BaseLiquibaseTaskgetChangeLogFile()public void setChangeLogFile(String changeLogFile)
setChangeLogFile in class BaseLiquibaseTaskpublic String getContexts()
BaseLiquibaseTaskAbstractChangeLogBasedTask which has the equivalent method.getContexts in class BaseLiquibaseTaskpublic void setContexts(String contexts)
BaseLiquibaseTaskAbstractChangeLogBasedTask which has the equivalent method.setContexts in class BaseLiquibaseTaskpublic LabelExpression getLabels()
public void setLabels(String labels)
public org.apache.tools.ant.types.resources.FileResource getOutputFile()
BaseLiquibaseTaskgetOutputFile in class BaseLiquibaseTaskpublic void setOutputFile(org.apache.tools.ant.types.resources.FileResource outputFile)
BaseLiquibaseTasksetOutputFile in class BaseLiquibaseTaskpublic String getOutputEncoding()
public void setOutputEncoding(String outputEncoding)
setOutputEncoding in class BaseLiquibaseTaskCopyright © 2019 Liquibase.org. All rights reserved.