com.atlassian.jira.issue.attachment
Class AttachmentKeys

java.lang.Object
  extended by com.atlassian.jira.issue.attachment.AttachmentKeys

public final class AttachmentKeys
extends Object

Utility methods for creating AttachmentKeys. Primarily designed to wrap the logic for determining the correct project and issue keys especially if the project key has been renamed.

Since:
v6.3

Method Summary
static AttachmentKey from(Attachment attachment)
           
static AttachmentKey from(Attachment attachment, Issue issue)
           
static AttachmentKey from(Project project, Issue issue, Attachment attachment)
           
static AttachmentKey from(String originalProjectKey, String issueKey, Attachment attachment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

from

public static AttachmentKey from(Project project,
                                 Issue issue,
                                 Attachment attachment)

from

public static AttachmentKey from(String originalProjectKey,
                                 String issueKey,
                                 Attachment attachment)

from

public static AttachmentKey from(Attachment attachment)

from

public static AttachmentKey from(Attachment attachment,
                                 Issue issue)


Copyright © 2002-2014 Atlassian. All Rights Reserved.