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:
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(Integer buildNumber, String version)
          Builds a BuildAndVersionNumber
 
Method Summary
 String getVersion()
           
 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(Integer buildNumber,
                             String version)
Builds a BuildAndVersionNumber

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

getVersion

public String getVersion()

toString

public String toString()
Overrides:
toString in class BuildNumber


Copyright © 2003–2015 Atlassian. All rights reserved.