com.atlassian.confluence.upgrade
Class BuildAndVersionNumber

java.lang.Object
  extended by com.atlassian.confluence.upgrade.BuildNumber
      extended by com.atlassian.confluence.upgrade.BuildAndVersionNumber
All Implemented Interfaces:
java.lang.Comparable<BuildNumber>

public class BuildAndVersionNumber
extends BuildNumber

It's a build number which also provides the human-readable version. Used for constants to communicate with the user.


Field Summary
 
Fields inherited from class com.atlassian.confluence.upgrade.BuildNumber
buildNumber
 
Constructor Summary
BuildAndVersionNumber(java.lang.Integer buildNumber, java.lang.String version)
          Builds a BuildAndVersionNumber
 
Method Summary
 java.lang.String getVersion()
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.confluence.upgrade.BuildNumber
compareTo, equals, getPrefix, hashCode, hasSameMajorVersion, isLowerThan
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BuildAndVersionNumber

public BuildAndVersionNumber(java.lang.Integer buildNumber,
                             java.lang.String version)
Builds a BuildAndVersionNumber

Parameters:
buildNumber - the build number
version - the human-readable translation for this build number
Method Detail

getVersion

public java.lang.String getVersion()

toString

public java.lang.String toString()
Overrides:
toString in class BuildNumber


Copyright © 2003-2014 Atlassian. All Rights Reserved.