org.riverock.dbrevision.manager
Class Version

java.lang.Object
  extended by org.riverock.dbrevision.manager.Version
All Implemented Interfaces:
Serializable

public class Version
extends Object
implements Serializable

User: SergeMaslyukov Date: 28.07.2007 Time: 20:04:13

See Also:
Serialized Form

Constructor Summary
Version(Database database, File modulePath, String versionName)
           
 
Method Summary
 void applayPatch(String patchName)
           
 void apply()
           
 void applyInitStructure()
           
 void destroy()
           
 Patch getLastPatch()
           
 List<Patch> getPatches()
           
 File getPatchPath()
           
 Version getPreviousVersion()
           
 String getVersionName()
           
 boolean isComplete()
           
 void setPatchPath(File patchPath)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Version

public Version(Database database,
               File modulePath,
               String versionName)
Method Detail

destroy

public void destroy()

applyInitStructure

public void applyInitStructure()

apply

public void apply()

applayPatch

public void applayPatch(String patchName)
                 throws SQLException
Throws:
SQLException

getPreviousVersion

public Version getPreviousVersion()

getVersionName

public String getVersionName()

getPatchPath

public File getPatchPath()

setPatchPath

public void setPatchPath(File patchPath)

getLastPatch

public Patch getLastPatch()

isComplete

public boolean isComplete()

getPatches

public List<Patch> getPatches()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008 Riverock community. All Rights Reserved.