java.lang.Object |
↳ |
com.atlassian.jira.issue.attachment.DefaultReadOnlyFileSystemAttachmentStore |
Class Overview
Basic implementation of a ReadOnlyFileBasedAttachmentStore rooted at the specified root directory.
Public Constructors
public
DefaultReadOnlyFileSystemAttachmentStore
(File rootDirectory)
Public Methods
public
File
getAttachmentFile
(AttachmentKey attachment)
Returns a reference to a physical File representing the data for the given Attachment.
If you are calling this on multiple attachments for the same issue, consider using the overriden method that
passes in the issue. Else, this goes to the database for each call.
Parameters
attachment
| Reference to the attachment |