Class LinkedJiraIssueImpl
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.bamboo.core.BambooEntityObject
-
- com.atlassian.bamboo.jira.jiraissues.LinkedJiraIssueImpl
-
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,InternalLinkedJiraIssue
,LinkedJiraIssue
,Cloneable
,Comparable<LinkedJiraIssue>
@Entity public class LinkedJiraIssueImpl extends BambooEntityObject implements LinkedJiraIssue
-
-
Constructor Summary
Constructors Constructor Description LinkedJiraIssueImpl()
LinkedJiraIssueImpl(String issueKey)
LinkedJiraIssueImpl(String issueKey, JiraIssueLinkType issueLinkType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(LinkedJiraIssue o)
boolean
equals(Object o)
@NotNull String
getIssueKey()
JIRA issue key (DB field)JiraIssueLinkType
getIssueType()
Return information how Bamboo object relates to JIRA issue (DB field)JiraIssueDetails
getJiraIssueDetails()
JIRA issue details dynamically retrieved from remote JIRA instanceResultsSummary
getResultsSummary()
GetResultsSummary
to which thisLinkedJiraIssue
applies (DB field)int
hashCode()
void
setIssueKey(String issueKey)
Set JIRA issue keyvoid
setIssueType(JiraIssueLinkType issueLinkType)
Set how build relates to JIRA issuevoid
setJiraIssueDetails(JiraIssueDetails jiraIssueDetails)
Set JIRA issue details.void
setResultsSummary(ResultsSummary resultsSummary)
SetResultsSummary
to which thisLinkedJiraIssue
applies (DB field)String
toString()
-
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
-
-
-
Constructor Detail
-
LinkedJiraIssueImpl
public LinkedJiraIssueImpl()
-
LinkedJiraIssueImpl
public LinkedJiraIssueImpl(String issueKey)
-
LinkedJiraIssueImpl
public LinkedJiraIssueImpl(String issueKey, JiraIssueLinkType issueLinkType)
-
-
Method Detail
-
setIssueKey
public void setIssueKey(String issueKey)
Description copied from interface:LinkedJiraIssue
Set JIRA issue key- Specified by:
setIssueKey
in interfaceLinkedJiraIssue
- Parameters:
issueKey
- JIRA issue key
-
getIssueKey
@NotNull public @NotNull String getIssueKey()
Description copied from interface:InternalLinkedJiraIssue
JIRA issue key (DB field)- Specified by:
getIssueKey
in interfaceInternalLinkedJiraIssue
- Returns:
- JIRA issue key
-
getResultsSummary
public ResultsSummary getResultsSummary()
Description copied from interface:LinkedJiraIssue
GetResultsSummary
to which thisLinkedJiraIssue
applies (DB field)- Specified by:
getResultsSummary
in interfaceLinkedJiraIssue
- Returns:
ResultsSummary
object
-
setResultsSummary
public void setResultsSummary(ResultsSummary resultsSummary)
Description copied from interface:LinkedJiraIssue
SetResultsSummary
to which thisLinkedJiraIssue
applies (DB field)- Specified by:
setResultsSummary
in interfaceLinkedJiraIssue
- Parameters:
resultsSummary
-ResultsSummary
object
-
getIssueType
public JiraIssueLinkType getIssueType()
Description copied from interface:InternalLinkedJiraIssue
Return information how Bamboo object relates to JIRA issue (DB field)- Specified by:
getIssueType
in interfaceInternalLinkedJiraIssue
- Returns:
JiraIssueLinkType
object
-
setIssueType
public void setIssueType(JiraIssueLinkType issueLinkType)
Description copied from interface:LinkedJiraIssue
Set how build relates to JIRA issue- Specified by:
setIssueType
in interfaceLinkedJiraIssue
- Parameters:
issueLinkType
- defines how build relates to JIRA issue
-
getJiraIssueDetails
public JiraIssueDetails getJiraIssueDetails()
Description copied from interface:InternalLinkedJiraIssue
JIRA issue details dynamically retrieved from remote JIRA instance- Specified by:
getJiraIssueDetails
in interfaceInternalLinkedJiraIssue
- Returns:
JiraIssueDetails
object
-
setJiraIssueDetails
public void setJiraIssueDetails(JiraIssueDetails jiraIssueDetails)
Description copied from interface:InternalLinkedJiraIssue
Set JIRA issue details.- Specified by:
setJiraIssueDetails
in interfaceInternalLinkedJiraIssue
- Parameters:
jiraIssueDetails
- issue details retrieved from remote JIRA instance
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
compareTo
public int compareTo(LinkedJiraIssue o)
- Specified by:
compareTo
in interfaceComparable<LinkedJiraIssue>
-
-