Package com.atlassian.confluence.upgrade
Class BuildNumber
java.lang.Object
com.atlassian.confluence.upgrade.BuildNumber
- All Implemented Interfaces:
Comparable<BuildNumber>
- Direct Known Subclasses:
BuildAndVersionNumber
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBuildNumber
(Integer buildNumber) Builds a build number.BuildNumber
(String buildNumber) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(BuildNumber that) boolean
int
hashCode()
boolean
isLowerThan
(BuildNumber other) int
toString()
-
Field Details
-
buildNumber
-
-
Constructor Details
-
BuildNumber
-
BuildNumber
Builds a build number.- Parameters:
buildNumber
- the build number or null
-
-
Method Details
-
isLowerThan
-
compareTo
- Specified by:
compareTo
in interfaceComparable<BuildNumber>
-
hashCode
public int hashCode() -
equals
-
toString
-
toInteger
- Throws:
NumberFormatException
-