com.atlassian.jira.rest.client.domain.input
Class LinkIssuesInput

java.lang.Object
  extended by com.atlassian.jira.rest.client.domain.input.LinkIssuesInput

public class LinkIssuesInput
extends Object

Input parameters used for issue link creation.


Constructor Summary
LinkIssuesInput(String fromIssueKey, String toIssueKey, String linkType)
           
LinkIssuesInput(String fromIssueKey, String toIssueKey, String linkType, Comment comment)
           
 
Method Summary
 Comment getComment()
           
 String getFromIssueKey()
           
 String getLinkType()
           
 String getToIssueKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkIssuesInput

public LinkIssuesInput(String fromIssueKey,
                       String toIssueKey,
                       String linkType,
                       @Nullable
                       Comment comment)
Parameters:
fromIssueKey - source issue key
toIssueKey - destination issue key
linkType - name of the link type (e.g. "Duplicate")
comment - optional comment

LinkIssuesInput

public LinkIssuesInput(String fromIssueKey,
                       String toIssueKey,
                       String linkType)
Method Detail

getFromIssueKey

public String getFromIssueKey()
Returns:
source issue key

getToIssueKey

public String getToIssueKey()
Returns:
destination issue key

getComment

@Nullable
public Comment getComment()
Returns:
optional comment or null

getLinkType

public String getLinkType()
Returns:
name of the link type (e.g. "Duplicate")


Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.