org.apache.ibatis.migration.commands
Class InitializeCommand
java.lang.Object
org.apache.ibatis.migration.commands.BaseCommand
org.apache.ibatis.migration.commands.InitializeCommand
- All Implemented Interfaces:
- Command
public class InitializeCommand
- extends BaseCommand
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 |
InitializeCommand
public InitializeCommand(File repository,
String environment,
boolean force)
execute
public void execute(String... args)
ensureDirectoryIsEmpty
protected void ensureDirectoryIsEmpty(File path)
createDirectoryIfNecessary
protected void createDirectoryIfNecessary(File path)
Copyright © 2010. All Rights Reserved.