Package liquibase.integration.ant
Class DiffDatabaseToChangeLogTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- liquibase.integration.ant.BaseLiquibaseTask
-
- liquibase.integration.ant.AbstractDatabaseDiffTask
-
- liquibase.integration.ant.DiffDatabaseToChangeLogTask
-
- All Implemented Interfaces:
Cloneable
public class DiffDatabaseToChangeLogTask extends AbstractDatabaseDiffTask
-
-
Constructor Summary
Constructors Constructor Description DiffDatabaseToChangeLogTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConfiguredJson(ChangeLogOutputFile changeLogOutputFile)voidaddConfiguredTxt(ChangeLogOutputFile changeLogOutputFile)voidaddConfiguredXml(ChangeLogOutputFile changeLogOutputFile)voidaddConfiguredYaml(ChangeLogOutputFile changeLogOutputFile)protected voidexecuteWithLiquibaseClassloader()StringgetExcludeObjects()booleangetIncludeCatalog()StringgetIncludeObjects()booleangetIncludeSchema()booleangetIncludeTablespace()StringgetOutputEncoding(ChangeLogOutputFile changeLogOutputFile)voidsetExcludeObjects(String excludeObjects)voidsetIncludeCatalog(boolean includeCatalog)voidsetIncludeObjects(String includeObjects)voidsetIncludeSchema(boolean includeSchema)voidsetIncludeTablespace(boolean includeTablespace)protected voidvalidateParameters()Subclasses that override this method must always callsuper.validateParameters()method.-
Methods inherited from class liquibase.integration.ant.AbstractDatabaseDiffTask
addReferenceDatabase, getDiffResult, getDiffTypes, setDiffTypes, setReferenceDatabaseRef
-
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
protected void executeWithLiquibaseClassloader() throws org.apache.tools.ant.BuildException- Specified by:
executeWithLiquibaseClassloaderin classBaseLiquibaseTask- Throws:
org.apache.tools.ant.BuildException
-
validateParameters
protected void validateParameters()
Description copied from class:BaseLiquibaseTaskSubclasses that override this method must always callsuper.validateParameters()method.- Overrides:
validateParametersin classAbstractDatabaseDiffTask
-
getOutputEncoding
public String getOutputEncoding(ChangeLogOutputFile changeLogOutputFile)
-
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)
-
-