|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThumbnailAccessor
Method Summary | |
---|---|
com.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)
Returns the old legacy file name for thumbnails. |
File |
getThumbnailDirectory(Issue issue)
Returns the physical directory of the thumbnails for the given issue, creating if necessary. |
File |
getThumbnailFile(Attachment attachment)
Just like the attachments themselves, thumbnails can succumb to file system encoding problems. |
File |
getThumbnailFile(Issue issue,
Attachment attachment)
Returns the file handle for the given attachment's thumbnail. |
Method Detail |
---|
@Nonnull File getThumbnailFile(@Nonnull Attachment attachment)
attachment
- the attachment for which to get the thumbnail file
getThumbnailFile(com.atlassian.jira.issue.Issue, Attachment)
@Nonnull File getThumbnailFile(@Nonnull Issue issue, @Nonnull Attachment attachment)
getThumbnailFile(Attachment)
if you already have the issue.
issue
- the issue to which the attachment belongsattachment
- the attachment for which to get the thumbnail file
getThumbnailFile(Attachment)
File getLegacyThumbnailFile(@Nonnull Attachment attachment)
attachment
- the attachment in play
@Nonnull File getThumbnailDirectory(@Nonnull Issue issue)
issue
- the issue whose thumbnail directory you want
com.atlassian.util.concurrent.Promise<Void> deleteThumbnailDirectory(@Nonnull Issue issue)
issue
- The issue whose thumbnail directory you want to delete.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |