Package com.atlassian.confluence.core
Class VersionHistory
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.confluence.core.AnnotatedEntityObject
com.atlassian.confluence.core.VersionHistory
- All Implemented Interfaces:
NotExportable
,Serializable
,Cloneable
A record of an upgrade performed on Confluence. The most recent VersionHistory object will tell us what
version the database has been upgraded to.
Changing this file can cause serious pain.
The VersionHistory is (necessarily) queried by the bootstrap manager on startup, and by the upgrade manager BEFORE any schema update is performed. This means that if you change the definition of this object, you need to make sure that the following direct SQL queries still work:
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVersionHistory
(int buildNumber, Date installationDate) VersionHistory
(int buildNumber, Date installationDate, String versionTag) -
Method Summary
Modifier and TypeMethodDescriptionint
long
getId()
boolean
void
setBuildNumber
(int buildNumber) void
setFinalized
(boolean finalized) void
setInstallationDate
(Date installationDate) void
setVersionTag
(String versionTag) Methods inherited from class com.atlassian.confluence.core.AnnotatedEntityObject
getCreationDate, getLastModificationDate
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCurrentDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
-
Constructor Details
-
VersionHistory
public VersionHistory() -
VersionHistory
-
VersionHistory
-
-
Method Details
-
getId
public long getId()- Overrides:
getId
in classcom.atlassian.core.bean.EntityObject
-
getBuildNumber
public int getBuildNumber() -
isFinalized
public boolean isFinalized() -
setBuildNumber
public void setBuildNumber(int buildNumber) -
getInstallationDate
-
setFinalized
public void setFinalized(boolean finalized) -
setInstallationDate
-
getVersionTag
-
setVersionTag
-