liquibase.integration.ant
Class DiffDatabaseTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
liquibase.integration.ant.BaseLiquibaseTask
liquibase.integration.ant.DiffDatabaseTask
- Direct Known Subclasses:
- DiffDatabaseToChangeLogTask
public class DiffDatabaseTask
- extends BaseLiquibaseTask
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Methods inherited from class liquibase.integration.ant.BaseLiquibaseTask |
addConfiguredChangeLogProperty, closeDatabase, createClasspath, createDatabaseObject, createLiquibase, createOutputWriter, createPrintStream, execute, getChangeLogFile, getContexts, getCurrentDateTimeFunction, getDatabaseChangeLogLockTableName, getDatabaseChangeLogObjectsTablespace, getDatabaseChangeLogTableName, getDatabaseClass, getDefaultCatalogName, getDefaultSchemaName, getDriver, getLogLevel, getOutputFile, getPassword, getUrl, getUsername, isPromptOnNonLocalDatabase, setChangeLogFile, setClasspathRef, setContexts, setCurrentDateTimeFunction, setDatabaseChangeLogLockTableName, setDatabaseChangeLogObjectsTablespace, setDatabaseChangeLogTableName, setDatabaseClass, setDefaultCatalogName, setDefaultSchemaName, setDriver, setLogLevel, setOutputFile, setPassword, setPromptOnNonLocalDatabase, setUrl, setUsername, shouldRun |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiffDatabaseTask
public DiffDatabaseTask()
getDiffTypes
public String getDiffTypes()
setDiffTypes
public void setDiffTypes(String diffTypes)
getDataDir
public String getDataDir()
setDataDir
public void setDataDir(String dataDir)
getReferenceDriver
public String getReferenceDriver()
setReferenceDriver
public void setReferenceDriver(String referenceDriver)
getReferenceUrl
public String getReferenceUrl()
setReferenceUrl
public void setReferenceUrl(String referenceUrl)
getReferenceUsername
public String getReferenceUsername()
setReferenceUsername
public void setReferenceUsername(String referenceUsername)
getReferencePassword
public String getReferencePassword()
setReferencePassword
public void setReferencePassword(String referencePassword)
getReferenceDefaultCatalogName
public String getReferenceDefaultCatalogName()
setReferenceDefaultCatalogName
public void setReferenceDefaultCatalogName(String referenceDefaultCatalogName)
getReferenceDefaultSchemaName
public String getReferenceDefaultSchemaName()
setReferenceDefaultSchemaName
public void setReferenceDefaultSchemaName(String referenceDefaultSchemaName)
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)
executeWithLiquibaseClassloader
public void executeWithLiquibaseClassloader()
throws org.apache.tools.ant.BuildException
- Specified by:
executeWithLiquibaseClassloader
in class BaseLiquibaseTask
- Throws:
org.apache.tools.ant.BuildException
outputDiff
protected void outputDiff(PrintStream writer,
DiffResult diffResult,
Database targetDatabase)
throws Exception
- Throws:
Exception
Copyright © 2014 Liquibase.org. All Rights Reserved.