public class UpgradeVersionHistoryItemImpl extends Object implements UpgradeVersionHistoryItem
Constructor and Description |
---|
UpgradeVersionHistoryItemImpl(Date timePerformed,
String targetBuildNumber,
String targetVersion,
String originalBuildNumber,
String originalVersion) |
UpgradeVersionHistoryItemImpl(Date timePerformed,
String targetBuildNumber,
String targetVersion,
String originalBuildNumber,
String originalVersion,
boolean inferred) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getOriginalBuildNumber() |
String |
getOriginalVersion() |
String |
getTargetBuildNumber()
For historical data, this number may not represent a released build of JIRA but instead the last upgrade task to
run.
|
String |
getTargetVersion()
If the target build number was not a released build of JIRA, the version picked will be the next version of JIRA
after that build number.
|
Date |
getTimePerformed()
For historical data, we do not have information about when upgrade tasks were performed.
|
int |
hashCode() |
boolean |
isInferred() |
public UpgradeVersionHistoryItemImpl(Date timePerformed, String targetBuildNumber, String targetVersion, String originalBuildNumber, String originalVersion)
public Date getTimePerformed()
UpgradeVersionHistoryItem
getTimePerformed
in interface UpgradeVersionHistoryItem
public String getTargetBuildNumber()
UpgradeVersionHistoryItem
getTargetBuildNumber
in interface UpgradeVersionHistoryItem
public String getOriginalBuildNumber()
getOriginalBuildNumber
in interface UpgradeVersionHistoryItem
public String getTargetVersion()
UpgradeVersionHistoryItem
If the target build number was not a released build of JIRA, the version picked will be the next version of JIRA after that build number.
For example, if the target build number is 207
, the version returned would be 3.8
,
as it has a build number of 209
.
getTargetVersion
in interface UpgradeVersionHistoryItem
public String getOriginalVersion()
getOriginalVersion
in interface UpgradeVersionHistoryItem
public boolean isInferred()
isInferred
in interface UpgradeVersionHistoryItem
Copyright © 2002-2019 Atlassian. All Rights Reserved.