Package com.atlassian.confluence.upgrade
Class BuildNumber
- java.lang.Object
-
- com.atlassian.confluence.upgrade.BuildNumber
-
- All Implemented Interfaces:
Comparable<BuildNumber>
- Direct Known Subclasses:
BuildAndVersionNumber
public class BuildNumber extends Object implements Comparable<BuildNumber>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
buildNumber
-
Constructor Summary
Constructors Constructor Description BuildNumber(Integer buildNumber)
Builds a build number.BuildNumber(String buildNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(BuildNumber that)
boolean
equals(Object obj)
int
hashCode()
boolean
isLowerThan(BuildNumber other)
String
toString()
-
-
-
Field Detail
-
buildNumber
protected final String buildNumber
-
-
Method Detail
-
isLowerThan
public boolean isLowerThan(BuildNumber other)
-
compareTo
public int compareTo(BuildNumber that)
- Specified by:
compareTo
in interfaceComparable<BuildNumber>
-
-