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 void
addConfiguredJson(ChangeLogOutputFile changeLogOutputFile)
void
addConfiguredTxt(ChangeLogOutputFile changeLogOutputFile)
void
addConfiguredXml(ChangeLogOutputFile changeLogOutputFile)
void
addConfiguredYaml(ChangeLogOutputFile changeLogOutputFile)
protected void
executeWithLiquibaseClassloader()
String
getExcludeObjects()
boolean
getIncludeCatalog()
String
getIncludeObjects()
boolean
getIncludeSchema()
boolean
getIncludeTablespace()
String
getOutputEncoding(ChangeLogOutputFile changeLogOutputFile)
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.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:
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 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)
-
-