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, shouldRun
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected void validateParameters()
BaseLiquibaseTask
super.validateParameters()
method.validateParameters
in class BaseLiquibaseTask
protected Writer getOutputFileWriter() throws IOException
IOException
public String getChangeLogDirectory()
getChangeLogDirectory
in class BaseLiquibaseTask
getChangeLogDirectory()
public void setChangeLogDirectory(String changeLogDirectory)
public String getChangeLogFile()
getChangeLogFile
in class BaseLiquibaseTask
getChangeLogFile()
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.