com.pmease.quickbuild.plugin.report.engine.migration
Class MigrationExecutor
java.lang.Object
com.pmease.quickbuild.plugin.report.engine.migration.MigrationExecutor
public abstract class MigrationExecutor
- extends java.lang.Object
Execute all migrate functions defined in Migrator class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dir
protected final java.io.File dir
context
protected final MigrationContext context
MigrationExecutor
public MigrationExecutor(java.io.File dir,
MigrationContext context)
getMigratorClass
public abstract java.lang.Class<?> getMigratorClass()
getVersionFileName
protected abstract java.lang.String getVersionFileName()
getVersionFile
protected java.io.File getVersionFile()
readDataVersion
public java.lang.String readDataVersion()
writeDataVersion
public void writeDataVersion()
beforeUpgrade
protected void beforeUpgrade()
afterUpgrade
protected void afterUpgrade()
doUpgrade
protected void doUpgrade()
needUpgrade
public boolean needUpgrade()
upgrade
public void upgrade()
getCurrentVersion
public java.lang.String getCurrentVersion()
Copyright © 2005-2010 PMEase Inc. All Rights Reserved.