Package liquibase.integration.ant
Class DBDocTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- liquibase.integration.ant.BaseLiquibaseTask
-
- liquibase.integration.ant.DBDocTask
-
- All Implemented Interfaces:
Cloneable
public class DBDocTask extends BaseLiquibaseTask
-
-
Constructor Summary
Constructors Constructor Description DBDocTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeWithLiquibaseClassloader()
protected String
getChangeLogFile()
This method is designed to be overridden by subclasses when a change log is needed.org.apache.tools.ant.types.resources.FileResource
getOutputDirectory()
void
setChangeLogFile(String changeLog)
void
setContexts(String contexts)
void
setOutputDirectory(org.apache.tools.ant.types.resources.FileResource outputDirectory)
protected void
validateParameters()
Subclasses that override this method must always callsuper.validateParameters()
method.-
Methods inherited from class liquibase.integration.ant.BaseLiquibaseTask
addChangeLogParameters, addDatabase, closeDatabase, createClasspath, createDatabaseFromConfiguredDatabaseType, createDatabaseFromType, execute, getChangeLogDirectory, 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
public 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 classBaseLiquibaseTask
-
getChangeLogFile
protected String getChangeLogFile()
Description copied from class:BaseLiquibaseTask
This method is designed to be overridden by subclasses when a change log is needed. By default it returns null.- Overrides:
getChangeLogFile
in classBaseLiquibaseTask
- Returns:
- Returns null in this implementation. Subclasses that need a change log should implement.
- See Also:
AbstractChangeLogBasedTask.getChangeLogFile()
-
setChangeLogFile
public void setChangeLogFile(String changeLog)
-
getOutputDirectory
public org.apache.tools.ant.types.resources.FileResource getOutputDirectory()
-
setOutputDirectory
public void setOutputDirectory(org.apache.tools.ant.types.resources.FileResource outputDirectory)
-
setContexts
public void setContexts(String contexts)
-
-