liquibase.integration.ant
Class DatabaseRollbackTask

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.DatabaseRollbackTask

public class DatabaseRollbackTask
extends BaseLiquibaseTask

Ant task for rolling back a database.


Nested Class Summary
 
Nested classes/interfaces inherited from class liquibase.integration.ant.BaseLiquibaseTask
BaseLiquibaseTask.ChangeLogProperty, BaseLiquibaseTask.LogRedirector
 
Field Summary
 
Fields inherited from class liquibase.integration.ant.BaseLiquibaseTask
classpath
 
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
 
Constructor Summary
DatabaseRollbackTask()
           
 
Method Summary
 void execute()
           
 Integer getRollbackCount()
           
 Date getRollbackDate()
           
 String getRollbackTag()
           
 void setRollbackCount(Integer rollbackCount)
           
 void setRollbackDate(Date rollbackDate)
           
 void setRollbackTag(String rollbackTag)
           
 
Methods inherited from class liquibase.integration.ant.BaseLiquibaseTask
addConfiguredChangeLogProperty, closeDatabase, createClasspath, createDatabaseObject, createLiquibase, createOutputWriter, createPrintStream, getChangeLogFile, getContexts, getCurrentDateTimeFunction, getDatabaseChangeLogLockTableName, getDatabaseChangeLogTableName, getDatabaseClass, getDefaultSchemaName, getDriver, getLogLevel, getOutputFile, getPassword, getUrl, getUsername, isPromptOnNonLocalDatabase, setChangeLogFile, setClasspathRef, setContexts, setCurrentDateTimeFunction, setDatabaseChangeLogLockTableName, setDatabaseChangeLogTableName, setDatabaseClass, 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
 

Constructor Detail

DatabaseRollbackTask

public DatabaseRollbackTask()
Method Detail

getRollbackDate

public Date getRollbackDate()

setRollbackDate

public void setRollbackDate(Date rollbackDate)

getRollbackTag

public String getRollbackTag()

setRollbackTag

public void setRollbackTag(String rollbackTag)

getRollbackCount

public Integer getRollbackCount()

setRollbackCount

public void setRollbackCount(Integer rollbackCount)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class BaseLiquibaseTask
Throws:
org.apache.tools.ant.BuildException


Copyright © 2004-2011 Liquibase.org. All Rights Reserved.