org.apache.ibatis.migration.commands
Class DownCommand

java.lang.Object
  extended by org.apache.ibatis.migration.commands.BaseCommand
      extended by org.apache.ibatis.migration.commands.DownCommand
All Implemented Interfaces:
Command

public class DownCommand
extends BaseCommand


Field Summary
 
Fields inherited from class org.apache.ibatis.migration.commands.BaseCommand
basePath, driverPath, environment, envPath, force, printStream, scriptPath
 
Constructor Summary
DownCommand(java.io.File repository, java.lang.String environment, boolean force)
           
 
Method Summary
protected  void deleteChange(Change change)
           
 void execute(java.lang.String... params)
           
protected  void reverse(java.lang.Comparable[] comparable)
           
 
Methods inherited from class org.apache.ibatis.migration.commands.BaseCommand
baseFile, changelogExists, changelogTable, copyResourceTo, copyResourceTo, driverFile, environmentFile, environmentFile, environmentProperties, existingEnvironmentFile, generateAppliedTimeStampAsString, getChangelog, getDriverClassLoader, getLastAppliedChange, getMigrations, getNextIDAsString, getPrintStream, getScriptRunner, getSqlRunner, getStepCountParameter, horizontalLine, insertChangelog, paramsEmpty, scriptFile, setDriverClassLoader, setPrintStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownCommand

public DownCommand(java.io.File repository,
                   java.lang.String environment,
                   boolean force)
Method Detail

execute

public void execute(java.lang.String... params)

deleteChange

protected void deleteChange(Change change)

reverse

protected void reverse(java.lang.Comparable[] comparable)


Copyright © 2010. All Rights Reserved.