org.apache.ibatis.migration.commands
Class NewCommand

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

public class NewCommand
extends BaseCommand


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

Constructor Detail

NewCommand

public NewCommand(File repository,
                  String environment,
                  String template,
                  boolean force)
Method Detail

execute

public void execute(String... params)


Copyright © 2010-2011 MyBatis.org. All Rights Reserved.