Package liquibase.integration.ant
Class DatabaseRollbackTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
liquibase.integration.ant.BaseLiquibaseTask
liquibase.integration.ant.AbstractChangeLogBasedTask
liquibase.integration.ant.DatabaseRollbackTask
- All Implemented Interfaces:
Cloneable
Ant task for rolling back a database.
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setRollbackCount
(Integer rollbackCount) void
setRollbackDate
(String rollbackDateStr) void
setRollbackTag
(String rollbackTag) Methods inherited from class liquibase.integration.ant.AbstractChangeLogBasedTask
getChangeLogDirectory, getChangeLogFile, getLabels, getOutputEncoding, getOutputFileWriter, getSearchPath, setLabelFilter, setLabels, validateParameters
Methods inherited from class liquibase.integration.ant.BaseLiquibaseTask
addChangeLogParameters, addDatabase, closeDatabase, createClasspath, createDatabaseFromConfiguredDatabaseType, createDatabaseFromType, execute, getDefaultOutputEncoding, getLiquibase, getResourceAccessor, 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
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
DatabaseRollbackTask
public DatabaseRollbackTask()
-
-
Method Details
-
executeWithLiquibaseClassloader
public void executeWithLiquibaseClassloader() throws org.apache.tools.ant.BuildException- Specified by:
executeWithLiquibaseClassloader
in classBaseLiquibaseTask
- Throws:
org.apache.tools.ant.BuildException
-
getRollbackDate
-
setRollbackDate
-
setRollbackTag
-
setRollbackCount
-