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 |
getLabels() |
String |
getOutputEncoding() |
org.apache.tools.ant.types.resources.FileResource |
getOutputFile() |
protected Writer |
getOutputFileWriter() |
void |
setChangeLogDirectory(String changeLogDirectory) |
void |
setChangeLogFile(String changeLogFile) |
void |
setContexts(String contexts) |
void |
setLabels(String labels) |
void |
setOutputEncoding(String outputEncoding) |
void |
setOutputFile(org.apache.tools.ant.types.resources.FileResource outputFile) |
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 getChangeLogFile()
getChangeLogFile in class BaseLiquibaseTaskgetChangeLogFile()public void setChangeLogFile(String changeLogFile)
public String getContexts()
public void setContexts(String contexts)
public LabelExpression getLabels()
public void setLabels(String labels)
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 © 2021 Liquibase.org. All rights reserved.