com.atlassian.confluence.core
Class VersionHistory

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.confluence.core.VersionHistory
All Implemented Interfaces:
java.lang.Cloneable

public class VersionHistory
extends com.atlassian.core.bean.EntityObject

A record of an upgrade performed on Confluence. The most recent VersionHistory object will tell us what version the database has been upgraded to.


Constructor Summary
VersionHistory()
           
VersionHistory(int buildNumber, java.util.Date installationDate)
           
VersionHistory(int buildNumber, java.util.Date installationDate, java.lang.String versionTag)
           
 
Method Summary
 int getBuildNumber()
           
 java.util.Date getInstallationDate()
           
 java.lang.String getVersionTag()
           
 void setBuildNumber(int buildNumber)
           
 void setInstallationDate(java.util.Date installationDate)
           
 void setVersionTag(java.lang.String versionTag)
           
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionHistory

public VersionHistory()

VersionHistory

public VersionHistory(int buildNumber,
                      java.util.Date installationDate)

VersionHistory

public VersionHistory(int buildNumber,
                      java.util.Date installationDate,
                      java.lang.String versionTag)
Method Detail

getBuildNumber

public int getBuildNumber()

setBuildNumber

public void setBuildNumber(int buildNumber)

getInstallationDate

public java.util.Date getInstallationDate()

setInstallationDate

public void setInstallationDate(java.util.Date installationDate)

getVersionTag

public java.lang.String getVersionTag()

setVersionTag

public void setVersionTag(java.lang.String versionTag)


Copyright © 2003-2010 Atlassian. All Rights Reserved.