@ParametersAreNonnullByDefault public interface ThumbnailAccessor
Modifier and Type | Method and Description |
---|---|
io.atlassian.util.concurrent.Promise<Void> |
deleteThumbnailDirectory(Issue issue)
Deletes the thumbnail directory for a given issue, deleting its contents if necessary.
|
File |
getLegacyThumbnailFile(Attachment attachment)
Deprecated.
Only used by
DefaultAttachmentStore which will be
removed in Jira 10.0.0 |
com.atlassian.dc.filestore.api.FileStore.Path |
getThumbnailFilePath(Attachment attachment)
Just like the attachments themselves, thumbnails can succumb to file system encoding problems.
|
com.atlassian.dc.filestore.api.FileStore.Path |
getThumbnailFilePath(Issue issue,
Attachment attachment)
Returns the file path for the given attachment's thumbnail.
|
@Nonnull com.atlassian.dc.filestore.api.FileStore.Path getThumbnailFilePath(Attachment attachment)
http://jira.atlassian.com/browse/JRA-23311
attachment
- the attachment for which to get the thumbnail file pathgetThumbnailFilePath(com.atlassian.jira.issue.Issue, Attachment)
@Nonnull com.atlassian.dc.filestore.api.FileStore.Path getThumbnailFilePath(Issue issue, Attachment attachment)
getThumbnailFilePath(Attachment)
if you already have the issue.issue
- the issue to which the attachment belongsattachment
- the attachment for which to get the thumbnail file pathgetThumbnailFilePath(Attachment)
@Deprecated File getLegacyThumbnailFile(Attachment attachment)
DefaultAttachmentStore
which will be
removed in Jira 10.0.0http://jira.atlassian.com/browse/JRA-23311
attachment
- the attachment in playio.atlassian.util.concurrent.Promise<Void> deleteThumbnailDirectory(Issue issue)
issue
- The issue whose thumbnail path you want to delete.Copyright © 2002-2024 Atlassian. All Rights Reserved.