com.atlassian.bamboo.jira.jiraissues
Class LinkedJiraIssueImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.jira.jiraissues.LinkedJiraIssueImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, LinkedJiraIssue, java.lang.Cloneable, java.lang.Comparable<LinkedJiraIssue>

public class LinkedJiraIssueImpl
extends BambooEntityObject
implements LinkedJiraIssue


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
LinkedJiraIssueImpl()
           
LinkedJiraIssueImpl(java.lang.String issueKey)
           
LinkedJiraIssueImpl(java.lang.String issueKey, JiraIssueLinkType issueLinkType)
           
 
Method Summary
 int compareTo(LinkedJiraIssue o)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getIssueKey()
          JIRA issue key (DB field)
 JiraIssueLinkType getIssueType()
          Return information how build relates to JIRA issue (DB field)
 JiraIssueDetails getJiraIssueDetails()
          JIRA issue details retrieved from remote JIRA instance
 ResultsSummary getResultsSummary()
          Get ResultsSummary to which this LinkedJiraIssue applies (DB field)
 int hashCode()
           
 void setIssueKey(java.lang.String issueKey)
          Set JIRA issue key
 void setIssueType(JiraIssueLinkType issueLinkType)
          Set how build relates to JIRA issue
 void setJiraIssueDetails(JiraIssueDetails jiraIssueDetails)
          Set JIRA issue details
 void setResultsSummary(ResultsSummary resultsSummary)
          Set ResultsSummary to which this LinkedJiraIssue applies (DB field)
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Constructor Detail

LinkedJiraIssueImpl

public LinkedJiraIssueImpl()

LinkedJiraIssueImpl

public LinkedJiraIssueImpl(java.lang.String issueKey)

LinkedJiraIssueImpl

public LinkedJiraIssueImpl(java.lang.String issueKey,
                           JiraIssueLinkType issueLinkType)
Method Detail

setIssueKey

public void setIssueKey(java.lang.String issueKey)
Description copied from interface: LinkedJiraIssue
Set JIRA issue key

Specified by:
setIssueKey in interface LinkedJiraIssue
Parameters:
issueKey - JIRA issue key

getIssueKey

public java.lang.String getIssueKey()
Description copied from interface: LinkedJiraIssue
JIRA issue key (DB field)

Specified by:
getIssueKey in interface LinkedJiraIssue
Returns:
JIRA issue key

getResultsSummary

public ResultsSummary getResultsSummary()
Description copied from interface: LinkedJiraIssue
Get ResultsSummary to which this LinkedJiraIssue applies (DB field)

Specified by:
getResultsSummary in interface LinkedJiraIssue
Returns:
ResultsSummary object

setResultsSummary

public void setResultsSummary(ResultsSummary resultsSummary)
Description copied from interface: LinkedJiraIssue
Set ResultsSummary to which this LinkedJiraIssue applies (DB field)

Specified by:
setResultsSummary in interface LinkedJiraIssue
Parameters:
resultsSummary - ResultsSummary object

getIssueType

public JiraIssueLinkType getIssueType()
Description copied from interface: LinkedJiraIssue
Return information how build relates to JIRA issue (DB field)

Specified by:
getIssueType in interface LinkedJiraIssue
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 interface LinkedJiraIssue
Parameters:
issueLinkType - defines how build relates to JIRA issue

getJiraIssueDetails

public JiraIssueDetails getJiraIssueDetails()
Description copied from interface: LinkedJiraIssue
JIRA issue details retrieved from remote JIRA instance

Specified by:
getJiraIssueDetails in interface LinkedJiraIssue
Returns:
JiraIssueDetails object

setJiraIssueDetails

public void setJiraIssueDetails(JiraIssueDetails jiraIssueDetails)
Description copied from interface: LinkedJiraIssue
Set JIRA issue details

Specified by:
setJiraIssueDetails in interface LinkedJiraIssue
Parameters:
jiraIssueDetails - issue details retrieved from remote JIRA instance

hashCode

public int hashCode()
Overrides:
hashCode in class com.atlassian.core.bean.EntityObject

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class com.atlassian.core.bean.EntityObject

compareTo

public int compareTo(LinkedJiraIssue o)
Specified by:
compareTo in interface java.lang.Comparable<LinkedJiraIssue>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 Atlassian. All Rights Reserved.