Package com.atlassian.confluence.upgrade
Class BuildAndVersionNumber
- java.lang.Object
-
- com.atlassian.confluence.upgrade.BuildNumber
-
- 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
Constructors Constructor Description BuildAndVersionNumber(Integer buildNumber, String version)
Builds a BuildAndVersionNumber
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getVersion()
int
hashCode()
String
toString()
-
Methods inherited from class com.atlassian.confluence.upgrade.BuildNumber
compareTo, isLowerThan
-
-
-
-
Method Detail
-
getVersion
public String getVersion()
-
toString
public String toString()
- Overrides:
toString
in classBuildNumber
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classBuildNumber
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBuildNumber
-
-