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
Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
Methods inherited from class liquibase.integration.ant.AbstractDatabaseDiffTask |
addReferenceDatabase, getDataDir, getDiffResult, getDiffTypes, getReferenceDefaultCatalogName, getReferenceDefaultSchemaName, getReferenceDriver, getReferencePassword, getReferenceUrl, getReferenceUsername, setDataDir, setDiffTypes, setReferenceDatabaseRef, setReferenceDefaultCatalogName, setReferenceDefaultSchemaName, setReferenceDriver, setReferencePassword, setReferenceUrl, setReferenceUsername |
Methods inherited from class liquibase.integration.ant.BaseLiquibaseTask |
addChangeLogParameters, addConfiguredChangeLogProperty, addDatabase, closeDatabase, createClasspath, createDatabaseFromType, createDatabaseObject, createLiquibase, createOutputWriter, createPrintStream, execute, getChangeLogFile, getContexts, getCurrentDateTimeFunction, getDatabaseChangeLogLockTableName, getDatabaseChangeLogObjectsTablespace, getDatabaseChangeLogTableName, getDatabaseClass, getDefaultCatalogName, getDefaultOutputEncoding, getDefaultSchemaName, getDriver, getLiquibase, getLogLevel, getOutputFile, getPassword, getUrl, getUsername, init, isOutputDefaultCatalog, isOutputDefaultSchema, isPromptOnNonLocalDatabase, setChangeLogFile, setChangeLogParametersRef, setClasspathRef, setContexts, setCurrentDateTimeFunction, setDatabaseChangeLogLockTableName, setDatabaseChangeLogObjectsTablespace, setDatabaseChangeLogTableName, setDatabaseClass, setDatabaseRef, setDefaultCatalogName, setDefaultSchemaName, setDriver, setLogLevel, setOutputDefaultCatalog, setOutputDefaultSchema, setOutputEncoding, setPassword, setPromptOnNonLocalDatabase, setUrl, setUsername, 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 |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
DiffDatabaseToChangeLogTask
public DiffDatabaseToChangeLogTask()
executeWithLiquibaseClassloader
protected void executeWithLiquibaseClassloader()
throws org.apache.tools.ant.BuildException
- Specified by:
executeWithLiquibaseClassloader
in class BaseLiquibaseTask
- Throws:
org.apache.tools.ant.BuildException
validateParameters
protected void validateParameters()
- Description copied from class:
BaseLiquibaseTask
- Subclasses that override this method must always call
super.validateParameters()
method.
- Overrides:
validateParameters
in class AbstractDatabaseDiffTask
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)
setOutputFile
@Deprecated
public void setOutputFile(org.apache.tools.ant.types.resources.FileResource outputFile)
- Deprecated. Use
addConfiguredXml(ChangeLogOutputFile)
instead.
- Description copied from class:
BaseLiquibaseTask
- This method does nothing. Use child implementations.
- Overrides:
setOutputFile
in class BaseLiquibaseTask
- Parameters:
outputFile
- The file to write the change log to.
Copyright © 2015 Liquibase.org. All rights reserved.