public class BuildNumber extends Object implements Comparable<BuildNumber>
Modifier and Type | Field and Description |
---|---|
protected String |
buildNumber |
Constructor and Description |
---|
BuildNumber(Integer buildNumber)
Builds a build number.
|
BuildNumber(String buildNumber) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BuildNumber that) |
boolean |
equals(Object obj) |
int |
getPrefix()
Deprecated.
since 5.2, we allow cross-version export, with limitations.
|
int |
hashCode() |
boolean |
hasSameMajorVersion(BuildNumber other)
Deprecated.
since 5.2, we allow cross-version export, with limitations.
|
boolean |
isLowerThan(BuildNumber other) |
String |
toString() |
protected final String buildNumber
public BuildNumber(String buildNumber)
public BuildNumber(Integer buildNumber)
buildNumber
- the build number or null@Deprecated public boolean hasSameMajorVersion(BuildNumber other)
UpgradeManager#getExportBuildNumber(boolean)}
and {@link UpgradeManager#getOldestSpaceImportAllowed()}
@Deprecated public int getPrefix()
UpgradeManager#getExportBuildNumber(boolean)}
and {@link UpgradeManager#getOldestSpaceImportAllowed()}
public boolean isLowerThan(BuildNumber other)
public int compareTo(BuildNumber that)
compareTo
in interface Comparable<BuildNumber>
Copyright © 2003–2018 Atlassian. All rights reserved.