liquibase.integration.ant
Class GenerateChangeLogTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by liquibase.integration.ant.BaseLiquibaseTask
              extended by liquibase.integration.ant.GenerateChangeLogTask
All Implemented Interfaces:
Cloneable

public class GenerateChangeLogTask
extends BaseLiquibaseTask


Nested Class Summary
 
Nested classes/interfaces inherited from class liquibase.integration.ant.BaseLiquibaseTask
BaseLiquibaseTask.ChangeLogProperty, BaseLiquibaseTask.LogRedirector
 
Field Summary
 
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
 
Constructor Summary
GenerateChangeLogTask()
           
 
Method Summary
 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)
           
 void setOutputFile(org.apache.tools.ant.types.resources.FileResource outputFile)
          Deprecated. Use addConfiguredXml(ChangeLogOutputFile) instead.
protected  void validateParameters()
          Subclasses that override this method must always call super.validateParameters() method.
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateChangeLogTask

public GenerateChangeLogTask()
Method Detail

executeWithLiquibaseClassloader

public 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 BaseLiquibaseTask

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


Copyright © 2015 Liquibase.org. All rights reserved.