|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ibatis.migration.commands.BaseCommand
org.apache.ibatis.migration.commands.InitializeCommand
public class InitializeCommand
Field Summary |
---|
Fields inherited from class org.apache.ibatis.migration.commands.BaseCommand |
---|
basePath, driverPath, environment, envPath, force, printStream, scriptPath, template |
Constructor Summary | |
---|---|
InitializeCommand(java.io.File repository,
java.lang.String environment,
boolean force)
|
Method Summary | |
---|---|
protected void |
createDirectoryIfNecessary(java.io.File path)
|
protected void |
ensureDirectoryIsEmpty(java.io.File path)
|
void |
execute(java.lang.String... args)
|
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, setDriverClassLoader, setPrintStream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InitializeCommand(java.io.File repository, java.lang.String environment, boolean force)
Method Detail |
---|
public void execute(java.lang.String... args)
protected void ensureDirectoryIsEmpty(java.io.File path)
protected void createDirectoryIfNecessary(java.io.File path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |