liquibase.ant
Class DatabaseMigratorTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by liquibase.ant.BaseLiquibaseTask
              extended by liquibase.ant.DatabaseMigratorTask

public class DatabaseMigratorTask
extends BaseLiquibaseTask

Ant task for migrating a database forward.


Nested Class Summary
 
Nested classes/interfaces inherited from class liquibase.ant.BaseLiquibaseTask
BaseLiquibaseTask.LogRedirector
 
Field Summary
 
Fields inherited from class liquibase.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
DatabaseMigratorTask()
           
 
Method Summary
 void execute()
           
 java.lang.String getContexts()
           
 boolean isDropFirst()
           
 void setContexts(java.lang.String cntx)
           
 void setDropFirst(boolean dropFirst)
           
 
Methods inherited from class liquibase.ant.BaseLiquibaseTask
createClasspath, createMigrator, getChangeLogFile, getCurrentDateTimeFunction, getDriver, getPassword, getUrl, getUsername, isPromptOnNonLocalDatabase, setChangeLogFile, setClasspathRef, setCurrentDateTimeFunction, setDriver, setPassword, setPromptOnNonLocalDatabase, setUrl, setUsername
 
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

DatabaseMigratorTask

public DatabaseMigratorTask()
Method Detail

isDropFirst

public boolean isDropFirst()

setDropFirst

public void setDropFirst(boolean dropFirst)

getContexts

public java.lang.String getContexts()

setContexts

public void setContexts(java.lang.String cntx)

execute

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