public final class

AttachmentKeys

extends Object
java.lang.Object
   ↳ com.atlassian.jira.issue.attachment.AttachmentKeys

Class Overview

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.

Summary

Public Methods
static AttachmentKey from(Project project, Issue issue, Attachment attachment)
static AttachmentKey from(String originalProjectKey, String issueKey, Attachment attachment)
static AttachmentKey from(String originalProjectKey, String issueKey, String fileName, Long id)
static AttachmentKey from(Attachment attachment)
static AttachmentKey from(Attachment attachment, Issue issue)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

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

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

public static AttachmentKey from (String originalProjectKey, String issueKey, String fileName, Long id)

public static AttachmentKey from (Attachment attachment)

public static AttachmentKey from (Attachment attachment, Issue issue)