Class AttachmentKey

java.lang.Object
com.atlassian.jira.issue.attachment.AttachmentKey

@ParametersAreNonnullByDefault public class AttachmentKey extends Object
Wraps important information required to retrieve an attachment from an attachment store. Unfortunately the AttachmentStore.AttachmentAdapter doesn't contain information about the project or issue.
Since:
v6.3
  • Method Details

    • getAttachmentId

      public Long getAttachmentId()
    • getAttachmentFilename

      public String getAttachmentFilename()
    • getIssueKey

      public String getIssueKey()
    • getProjectKey

      public String getProjectKey()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static AttachmentKey.Builder builder()