public class UpgradeHistoryItemImpl extends Object implements UpgradeHistoryItem
Constructor and Description |
---|
UpgradeHistoryItemImpl(Date timePerformed,
String targetBuildNumber,
String targetVersion,
String originalBuildNumber,
String originalVersion) |
UpgradeHistoryItemImpl(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 UpgradeHistoryItemImpl(Date timePerformed, String targetBuildNumber, String targetVersion, String originalBuildNumber, String originalVersion)
public Date getTimePerformed()
UpgradeHistoryItem
getTimePerformed
in interface UpgradeHistoryItem
public String getTargetBuildNumber()
UpgradeHistoryItem
getTargetBuildNumber
in interface UpgradeHistoryItem
public String getOriginalBuildNumber()
getOriginalBuildNumber
in interface UpgradeHistoryItem
public String getTargetVersion()
UpgradeHistoryItem
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 UpgradeHistoryItem
public String getOriginalVersion()
getOriginalVersion
in interface UpgradeHistoryItem
public boolean isInferred()
isInferred
in interface UpgradeHistoryItem
Copyright © 2002-2015 Atlassian. All Rights Reserved.