|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.upgrade.UpgradeHistoryItemImpl
public class UpgradeHistoryItemImpl
Constructor Summary | |
---|---|
UpgradeHistoryItemImpl(Date timePerformed,
String targetBuildNumber,
String targetVersion,
String originalBuildNumber,
String originalVersion)
|
|
UpgradeHistoryItemImpl(Date timePerformed,
String targetBuildNumber,
String targetVersion,
String originalBuildNumber,
String originalVersion,
boolean inferred)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpgradeHistoryItemImpl(Date timePerformed, String targetBuildNumber, String targetVersion, String originalBuildNumber, String originalVersion)
public UpgradeHistoryItemImpl(Date timePerformed, String targetBuildNumber, String targetVersion, String originalBuildNumber, String originalVersion, boolean inferred)
Method Detail |
---|
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
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |