public abstract class AbstractChangeLogBasedTask extends BaseLiquibaseTask
| 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() |
LabelExpression |
getLabelFilter() |
LabelExpression |
getLabels()
Deprecated.
use
getLabelFilter() |
String |
getOutputEncoding() |
org.apache.tools.ant.types.resources.FileResource |
getOutputFile() |
protected Writer |
getOutputFileWriter() |
String |
getSearchPath()
Gets the change log directory set from Ant.
|
void |
setChangeLogDirectory(String changeLogDirectory) |
void |
setChangeLogFile(String changeLogFile) |
void |
setContexts(String contexts) |
void |
setLabelFilter(String labelFilter) |
void |
setLabels(String labelFilter)
Deprecated.
|
void |
setOutputEncoding(String outputEncoding) |
void |
setOutputFile(org.apache.tools.ant.types.resources.FileResource outputFile) |
void |
setSearchPath(String searchPath) |
protected void |
validateParameters()
Subclasses that override this method must always call
super.validateParameters() method. |
addChangeLogParameters, addDatabase, closeDatabase, createClasspath, createDatabaseFromConfiguredDatabaseType, createDatabaseFromType, execute, executeWithLiquibaseClassloader, getDefaultOutputEncoding, getLiquibase, getResourceAccessor, init, isPromptOnNonLocalDatabase, setChangeLogParametersRef, setClasspathRef, setDatabaseRef, setPromptOnNonLocalDatabase, 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 getSearchPath()
getSearchPath in class BaseLiquibaseTaskpublic void setSearchPath(String searchPath)
public String getChangeLogFile()
getChangeLogFile in class BaseLiquibaseTaskgetChangeLogFile()public void setChangeLogFile(String changeLogFile)
public String getContexts()
public void setContexts(String contexts)
public LabelExpression getLabels()
getLabelFilter()public void setLabels(String labelFilter)
setLabelFilter(String)public LabelExpression getLabelFilter()
public void setLabelFilter(String labelFilter)
public org.apache.tools.ant.types.resources.FileResource getOutputFile()
public void setOutputFile(org.apache.tools.ant.types.resources.FileResource outputFile)
public String getOutputEncoding()
public void setOutputEncoding(String outputEncoding)
Copyright © 2023 Liquibase.org. All rights reserved.