public class

FileSystemThumbnailAccessor

extends WithDirectoryAccessorThumbnailAccessor
java.lang.Object
   ↳ com.atlassian.jira.issue.attachment.WithDirectoryAccessorThumbnailAccessor
     ↳ com.atlassian.jira.issue.attachment.FileSystemThumbnailAccessor

Summary

Public Constructors
FileSystemThumbnailAccessor(AttachmentDirectoryAccessor ada)
Public Methods
File getLegacyThumbnailFile(Attachment attachment)
Returns the old legacy file name for thumbnails http://jira.atlassian.com/browse/JRA-23311
@Nonnull File getThumbnailFile(Attachment attachment)
@Nonnull File getThumbnailFile(Issue issue, Attachment attachment)
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.attachment.WithDirectoryAccessorThumbnailAccessor
From class java.lang.Object
From interface com.atlassian.jira.issue.attachment.ThumbnailAccessor

Public Constructors

public FileSystemThumbnailAccessor (AttachmentDirectoryAccessor ada)

Public Methods

public File getLegacyThumbnailFile (Attachment attachment)

Returns the old legacy file name for thumbnails http://jira.atlassian.com/browse/JRA-23311

Parameters
attachment the attacment in play
Returns
  • the full legacy thumbnail file name

@Nonnull public File getThumbnailFile (Attachment attachment)

@Nonnull public File getThumbnailFile (Issue issue, Attachment attachment)