Package liquibase.integration.ant
Class GenerateChangeLogTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- liquibase.integration.ant.BaseLiquibaseTask
-
- liquibase.integration.ant.GenerateChangeLogTask
-
- All Implemented Interfaces:
Cloneable
public class GenerateChangeLogTask extends BaseLiquibaseTask
-
-
Constructor Summary
Constructors Constructor Description GenerateChangeLogTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConfiguredJson(ChangeLogOutputFile changeLogOutputFile)
void
addConfiguredTxt(ChangeLogOutputFile changeLogOutputFile)
void
addConfiguredXml(ChangeLogOutputFile changeLogOutputFile)
void
addConfiguredYaml(ChangeLogOutputFile changeLogOutputFile)
void
executeWithLiquibaseClassloader()
String
getExcludeObjects()
boolean
getIncludeCatalog()
String
getIncludeObjects()
boolean
getIncludeSchema()
boolean
getIncludeTablespace()
void
setExcludeObjects(String excludeObjects)
void
setIncludeCatalog(boolean includeCatalog)
void
setIncludeObjects(String includeObjects)
void
setIncludeSchema(boolean includeSchema)
void
setIncludeTablespace(boolean includeTablespace)
protected void
validateParameters()
Subclasses that override this method must always callsuper.validateParameters()
method.-
Methods inherited from class liquibase.integration.ant.BaseLiquibaseTask
addChangeLogParameters, addDatabase, closeDatabase, createClasspath, createDatabaseFromConfiguredDatabaseType, createDatabaseFromType, execute, getChangeLogDirectory, getChangeLogFile, getDefaultOutputEncoding, getLiquibase, getResourceAccessor, getSearchPath, init, isPromptOnNonLocalDatabase, setChangeLogParametersRef, setClasspathRef, setDatabaseRef, setPromptOnNonLocalDatabase, shouldRun
-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
executeWithLiquibaseClassloader
public void executeWithLiquibaseClassloader() throws org.apache.tools.ant.BuildException
- Specified by:
executeWithLiquibaseClassloader
in classBaseLiquibaseTask
- Throws:
org.apache.tools.ant.BuildException
-
validateParameters
protected void validateParameters()
Description copied from class:BaseLiquibaseTask
Subclasses that override this method must always callsuper.validateParameters()
method.- Overrides:
validateParameters
in classBaseLiquibaseTask
-
addConfiguredJson
public void addConfiguredJson(ChangeLogOutputFile changeLogOutputFile)
-
addConfiguredXml
public void addConfiguredXml(ChangeLogOutputFile changeLogOutputFile)
-
addConfiguredYaml
public void addConfiguredYaml(ChangeLogOutputFile changeLogOutputFile)
-
addConfiguredTxt
public void addConfiguredTxt(ChangeLogOutputFile changeLogOutputFile)
-
getIncludeCatalog
public boolean getIncludeCatalog()
-
setIncludeCatalog
public void setIncludeCatalog(boolean includeCatalog)
-
getIncludeSchema
public boolean getIncludeSchema()
-
setIncludeSchema
public void setIncludeSchema(boolean includeSchema)
-
getIncludeTablespace
public boolean getIncludeTablespace()
-
setIncludeTablespace
public void setIncludeTablespace(boolean includeTablespace)
-
getIncludeObjects
public String getIncludeObjects()
-
setIncludeObjects
public void setIncludeObjects(String includeObjects)
-
getExcludeObjects
public String getExcludeObjects()
-
setExcludeObjects
public void setExcludeObjects(String excludeObjects)
-
-